Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
function in table cell
Old 11-21-2005, 12:43 PM function in table cell
Novice Talker

Posts: 9
Trades: 0
Hello
I have a function which shows a sequence of images in a loop, the problem i have is that i have no control over where the images are shown on the page, i would like to show the images in a particular cell of a HTML table. Is there a way of doing this?
The function is below, it currently runs from onload.
Thanks
Solaar
function startSlideShow(){
setTimeout("pic1()",1000);
}
function pic1(){
document.images.slidepix.src="costume.gif ";
setTimeout("pic2()",1000);
}
function pic2(){
document.images.slidepix.src="dressing.gif ";
setTimeout("pic3()",1000);
}
function pic3(){
document.images.slidepix.src="sculpting.gif ";
setTimeout("pic1()",1000);
}
phouse is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-21-2005, 03:25 PM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
This script is targeting whichever image is name "slidepix", so simply put name="slidepix" in the <img> tag and that's it.
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to function in table cell
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20952 seconds with 12 queries