Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Coding Requests (Request/Assist With Custom Codes Here) |
Coding Requests |
Coding Requests In this thread users of the uCoz system are able to request the development of custom scripts for their sites. Requests are carried out voluntarily by other forum users so please understand not all requests may be completed within a short time-frame or even at all. About: Posting Requests If posting a custom scripting requests please include the following;
About: Completing Requests If you have completed a request please use the following template when posting. Code Requested By: $USER$ Requested On: $DATE_REQUESTED$ Solution: $SOLUTION$ Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
1. How can I add sound in that code so that when a new PM is received it rings only once and stops without repeating. you can use something like Code <audio src="..." id="newPmAudio"> and use the .play() function for the newPmAudio id once it's triggered 2. I want the box to disappear immediately after I have clicked on it even without reading the messages. that is not possible hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
For the Shop module, I have an item present in two different categories. I want to use conditional operators to modify the item based on if it is in one of those categories. The specific category would not be its primary category, but a secondary or tertiary one. I'm at a dead-end in trying to resolve the issue.
Web design and film == my 2 passions.
Genesis Inc. ~ New Horizons, New Beginnings |
NTP, Use conditional statements, something like:
<?if($PID$='1')?>TRUE (your code or text)<?else?>FALSE (your code or text)<?endif?> <?if($CID$='2')?>TRUE (your code or text)<?else?>FALSE (your code or text)<?endif?> or <?if($PID$='1')?>TRUE (your code or text)<?endif?> <?if($CID$='2')?>TRUE (your code or text)<?endif?> $CID$ - category ID $PID$ - ID of a parent category You can find out the ID of a category or section using the web site administrator panel. |
| |||