Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > Scripts & Fantastico

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…

Reply
 
LinkBack Thread Tools
  #1  
Old 05-17-2008, 06:44 PM
whiskermouse's Avatar
Corporal
 
Join Date: Nov 2007
Posts: 12
Red face Inserting Java Scripts

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 05-17-2008, 11:04 PM
PlayItByBeer's Avatar
Lieutenant Colonel
 
Join Date: Mar 2007
Location: Port Elizabeth, South Africa
Posts: 576
Send a message via Skype™ to PlayItByBeer
Default Re: Inserting Java Scripts

Quote:
Originally Posted by whiskermouse View Post
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
Hi Mouse,
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 05-18-2008, 02:41 PM
First Sergeant
 
Join Date: Sep 2007
Location: Montreal, Quebec
Posts: 72
Default Re: Inserting Java Scripts

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 05-18-2008, 07:43 PM
whiskermouse's Avatar
Corporal
 
Join Date: Nov 2007
Posts: 12
Red face Re: Inserting Java Scripts

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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 05-18-2008, 11:03 PM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,640
Default Re: Inserting Java Scripts

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 05-19-2008, 07:31 PM
whiskermouse's Avatar
Corporal
 
Join Date: Nov 2007
Posts: 12
Default Re: Inserting Java Scripts

Thanks,
Missed a line of code when I copied and pasted.. it is working fine now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 05-24-2008, 02:36 PM
Private
 
Join Date: May 2008
Posts: 2
Default Re: Inserting Java Scripts

i dont understand these page
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 05-24-2008, 02:43 PM
Private
 
Join Date: May 2008
Posts: 2
Thumbs up Re: Inserting Java Scripts

is thr no one to reply me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 06-29-2008, 11:43 PM
nintendo_nerd123's Avatar
Private
 
Join Date: Jun 2008
Posts: 4
Default Re: Inserting Java Scripts

i have like 45 questions so you can tell im not a computer god.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 06-29-2008, 11:46 PM
nintendo_nerd123's Avatar
Private
 
Join Date: Jun 2008
Posts: 4
Default Re: Inserting Java Scripts

I Have A Question!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 06-29-2008, 11:50 PM
nintendo_nerd123's Avatar
Private
 
Join Date: Jun 2008
Posts: 4
Default Re: Inserting Java Scripts

Yea, i get it. you never reply to halp vampire half werewolf and half dragon that you think its gonna bite your head off! :(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 06-30-2008, 06:51 AM
PlayItByBeer's Avatar
Lieutenant Colonel
 
Join Date: Mar 2007
Location: Port Elizabeth, South Africa
Posts: 576
Send a message via Skype™ to PlayItByBeer
Default Re: Inserting Java Scripts

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 04:58 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55