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 12-07-2007, 04:29 PM
Private First Class
 
Join Date: Mar 2006
Posts: 8
Default Embedding a Javascript within an HTML

I produced a slide show using Photodex ProGold. When you create the show for your website it creates 2 files - a .px file which contains the slide show and an html file that contains javascript code. both files must be uploaded to my server.

I would like to enhance the look of the html page produced by photodex, but am not sure how to do this. I tried creating a new page in Blue Voda by importing Photodex's html file. I made whatever cosmetic changes to the page and "produced" this page in the usual fashion. When I check my site, the page appears but does not load the slide show. Can anyone tell me what I might be doing wrong or suggest a solution? Thanks
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 12-08-2007, 11:26 AM
Meanderer's Avatar
Major
 
Join Date: Aug 2007
Location: Rural NSW Australia
Posts: 311
Default Re: Embedding a Javascript within an HTML

I'm no expert but seeing no-one has come along yet I might offer a suggestion.
Instead of publishing the page via BlueVoda, try uploading via FTP to your server (after you've created in BV) along with the other associated file. Make sure you have the appropriate file extensions. Can't do any harm. You can always delete them again via Cpanel if they don't work.
Cheers,
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 12-08-2007, 06:30 PM
Karen Mac's Avatar
Lieutenant General
 
Join Date: Apr 2006
Posts: 3,540
Send a message via MSN to Karen Mac
Default Re: Embedding a Javascript within an HTML

ftp both files to the server. Then use the flash box under insert advanced I believe it is, and then click on properties of this box and tell it where to locate the flash file.

Size the box according to its display size. Save then publish.. see if it works this way.

Karen
__________________
KMAC Enterprise
Granny's Country Nook 10%Off, your code: Forum Discounts
Charming Noveltees~Sports Logos Charms, Jewelry, Collectibles- 10% off, your code: VodaHost
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 12-08-2007, 06:52 PM
Karen Mac's Avatar
Lieutenant General
 
Join Date: Apr 2006
Posts: 3,540
Send a message via MSN to Karen Mac
Default Re: Embedding a Javascript within an HTML

oops i meant javascript, but same process.

Karen
__________________
KMAC Enterprise
Granny's Country Nook 10%Off, your code: Forum Discounts
Charming Noveltees~Sports Logos Charms, Jewelry, Collectibles- 10% off, your code: VodaHost
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 12-08-2007, 07:35 PM
Aliens Anonymous's Avatar
Brigadier General
 
Join Date: Jan 2006
Location: Dark side of the moon
Posts: 1,190
Talking Re: Embedding a Javascript within an HTML

Quote:
Originally Posted by nytwodees View Post
I produced a slide show using Photodex ProGold. When you create the show for your website it creates 2 files - a .px file which contains the slide show and an html file that contains javascript code. both files must be uploaded to my server.

I would like to enhance the look of the html page produced by photodex, but am not sure how to do this. I tried creating a new page in Blue Voda by importing Photodex's html file. I made whatever cosmetic changes to the page and "produced" this page in the usual fashion. When I check my site, the page appears but does not load the slide show. Can anyone tell me what I might be doing wrong or suggest a solution? Thanks
You say you wish to enhance the look of the hhtml page produced by photodex. if you mean by this that you wish to make the page look more like your site or add things to it. then the best way is to open the html page in your html editer ( notepad, dreamweaver, etc ) find the lements that are needed in the file that photodex have added, eg any items that go into the head, body tag, and body,etc copy those into a bv page in the same place , eg head to head and so on. any elements in the body can be entered into a html box on the page it's self including flash, as long the right parts of the script are copied no need to resize the flash done this way at the size will go from the flash code inside the html box. when once you have done this and tested , you can then add move what ever you want.
__________________
Angies CyberScripts
Web Designs by the Boom Crew
The Showcase Now Closed
PhpBB and web design
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 12-08-2007, 10:19 PM
Private First Class
 
Join Date: Mar 2006
Posts: 8
Default Re: Embedding a Javascript within an HTML

Thanks for your reply.

I would like to copy the code from the Photodex html into the correct areas on the Blue Voda page but do not know where to place it. The code does not indicate what areas the code should be placed. The full code from the Photodex html page is as follows:



<script language="javascript" src="http://www.photodex.com/presenter.js"> </script>


<script>

PhotodexObject("ProShow","[object name]","[URL to PX file]",[width],[height]);

PresenterControls("[object name]",[width]);

</script>

Perhaps you can parse this code and indicate what goes where. Thanks

NOTE: This is the generic code - the actual code has my info wherever there are brackets.
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 12-09-2007, 02:26 AM
Aliens Anonymous's Avatar
Brigadier General
 
Join Date: Jan 2006
Location: Dark side of the moon
Posts: 1,190
Default Re: Embedding a Javascript within an HTML

Quote:
Originally Posted by nytwodees View Post
Thanks for your reply.

I would like to copy the code from the Photodex html into the correct areas on the Blue Voda page but do not know where to place it. The code does not indicate what areas the code should be placed. The full code from the Photodex html page is as follows:



<script language="javascript" src="http://www.photodex.com/presenter.js"> </script>


<script>

PhotodexObject("ProShow","[object name]","[URL to PX file]",[width],[height]);

PresenterControls("[object name]",[width]);

</script>

Perhaps you can parse this code and indicate what goes where. Thanks

NOTE: This is the generic code - the actual code has my info wherever there are brackets.

the first one is placed between the head tag in page properties on bv.
the second should be able to go into a html box, then placed were you want it. bearing that in mind this should work as long there is no other code that goes anywere else. also doing this sort of thing sometimes does not look pretty when previewing in bv, best to publish to a folder and upload any files that go with it. also it can be a bit of trail and error with putting bits of code into the bv page, i find the best way is to open the origaul html file in my editer and study where each bit of code goes.

i noticed that the first javascript is pointed at there site is that part of the deal them or do you get your own presenter.js file.
__________________
Angies CyberScripts
Web Designs by the Boom Crew
The Showcase Now Closed
PhpBB and web design
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 06:17 PM.


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