![]() |
|
| |||||||
| Notices |
| Scripts & Fantastico Discussions, help and troubleshooting scripts included is adding popular Fantastico scripts to your website such as guest books, osCommerce shopping cart, polls, content management systems etc… |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
| Hello all, Starting work on another project and have a couple of questions about inserting java scripts in blue voda. I have a script that rotates background music on a webpage. Have the .midi files uploaded to the server and the script configured, however my question is how to insert it.. it belongs in the head of the document.. can I insert using the page properties or do I place a script on the page? the other java script deals with sorting html tables within a page. here again i have the script configured to insert into the table.. question will this work as part of the table html? Thanks in advance for any help |
|
#2
| ||||
| ||||
| Quote:
You'll find "between head' tag where you need to insert the java script by: right click open area of your page>>Page HTML>>between head>>insert script. I'm not sure which one you have but some music related java script also requires a portion of the script on the page by: clicking on the HTML icon in BV (or insert>>advanced>>HTML) (This second part of the script is usual a music control panel/play/mute/volume etc) Cheers,
__________________ Andrew www.froggdesigns.com Graphic And Web Design Solutions Latest Release www.genergy.co.za Work In Progress www.cuspal.co.za Web Design Portfolio |
|
#3
| |||
| |||
| If you want to run a Java Script in a box somewhere in your site, then you can use the HTML Button on the top left corner of BV. Click on it and drag to the location of your choice on the site. then make is as big as you need "look in the lower left side of BV for exact measurements width and heights". Double click on the box and insert your code, it should work just fine. Good luck...
__________________ Fadi Kaouk http://www.kgcinternational.com - Recruitment Firm http://www.moneymachineguide.com - Make Money Online http://fadikaouk.blogspot.com - Make Money Blog http://www.pokerguideservice.com - Learn the game of Poker http://www.casinoguidenet.com - Learn the games of the Casino http://www.insuranceguidenet.com - Learn more about insurance http://www.loandealonline.com - Learn more about various loans |
|
#4
| ||||
| ||||
| OK, what's wrong? Here's the java script I am using to rotate music (midi files) on my webpages.. I have inserted it into the "head"... and nothing... zip... zero. The midi files are uploaded to the server.. Could someone take a look at see what I'm missing??? Thanks <script> <!-- //--> var sound1="circleoflife.mid" var sound2="sunshinehoulder.mid" var sound3="youarethesunshine.mid" var x=Math.random()*10 if (x<=3) x=sound1 else if (x<=6) x=sound2 else x=sound3 if (navigator.appName=="Microsoft Internet Explorer") document.write('<bgsound src='+'"'+x+'"'+' loop="infinite">') else document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true">') //--> </script> |
|
#5
| ||||
| ||||
| There should be instructions wherever you got the javascript code at. Depending on code it may need to go between the head tags, or it may needs to go in the body of the html (possibly after other code). Try putting it in the body of your page.
__________________ Register/Login Script Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script |
|
#12
| ||||
| ||||
| Nerd, Start your own topic and post your question (s) it's difficult to guess what they are... Cheers,
__________________ Andrew www.froggdesigns.com Graphic And Web Design Solutions Latest Release www.genergy.co.za Work In Progress www.cuspal.co.za Web Design Portfolio |