Reply
Scrolling images
Old 10-06-2003, 06:06 AM Scrolling images
brit

Posts: n/a
Is it possible to add one line or two of text description underneath each scrolling image... (it being different text for each image).


Plus, how do I add a line of text inside my (coloured) background box?

Here's the script...;


http://dynamicdrive.com/dynamicindex...ightslide2.htm

Thanks!
Reply With Quote
 
When You Register, These Ads Go Away!
     
Old 10-06-2003, 06:21 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
13 Movies
Posts: 3,566
Location: in a distant land far away from reality
it is easy.

u c these lines
Quote:
slideimages[0]='<a href="http://www.cnn.com"><img src="PE01805A.gif" border=0"></a>'
slideimages[1]='<img src="PE01803A.gif">'
slideimages[2]='<img src="TN00411A.gif">'
slideimages[3]='<img src="PE02054A.gif">'
slideimages[4]='<img src="cake.gif">'
just after u finish the img tag, put a line break and add the text. make sure that u DO NOT DELETE THE LAST SINGLE QUOTE and do not put any quotes in ur description.

it will look like this

Quote:
slideimages[0]='<a href="http://www.cnn.com"><img src="PE01805A.gif" border=0"></a><br>your description goes here'
slideimages[1]='<img src="PE01803A.gif"><br>your description goes here as well'
slideimages[2]='<img src="TN00411A.gif"><br>your description goes here too'
slideimages[3]='<img src="PE02054A.gif"><br>your description goes here again'
slideimages[4]='<img src="cake.gif">'
let know if this helped/
__________________
Praveen
Web Tools - Smilies - Celebs - Bookmarks - Indian Food - Create a Poll

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 10-06-2003, 06:55 AM
brit

Posts: n/a
It worked

How do I change the font, font size, and colour? It is showing up very small, and is black in colour.

Plus, to have a description that doesn't accompany each scrolling image... i.e just one line that stays inside the background box (title). How is that done?

Thanks!!
Reply With Quote
 
Old 10-06-2003, 08:47 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
13 Movies
Posts: 3,566
Location: in a distant land far away from reality
for the font attributes, just specifiy them as u do normally but without quotes.

but it would be advisable and a better idea to use a css style for it.

to ave a static text for all the images, u got to modify the layer attributes which come in the last few lines of the script..
__________________
Praveen
Web Tools - Smilies - Celebs - Bookmarks - Indian Food - Create a Poll

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 10-06-2003, 09:24 AM
brit

Posts: n/a
Ok... Which part of the layer attributes do I need to change, and with what?
Reply With Quote
 
Old 10-06-2003, 10:33 AM
brit

Posts: n/a
Also... How do I change the border colour for each image?

Thanks!!
Reply With Quote
 
Old 10-07-2003, 05:09 AM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
I think for the border color use: bordercolor="..." or border:color="..." inside the corresponding image tag. This sholud work.
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Reply     « Reply to Scrolling images
 

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

vB 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.34102 seconds with 13 queries