Web Design and Development Forums

Timeline difficulties

This is a discussion on "Timeline difficulties" within the Beginner Resources section. This forum, and the thread "Timeline difficulties are both part of the New to Web Design category.

Old Nov 29th, 2007, 20:40   #1 (permalink)
New Member
 
Join Date: Nov 2007
Location: Florida
Posts: 3
Timeline difficulties

I'm a total newbie web designer trying to get my page to have an option to replace an image with another, and then replace that with another, and so on.

I'm trying to use a timeline to do so. I'm using Ap div tags, but the problem is, whenever I view them in different computers, or when the screen is not maximized the image moves to a different location in the browser.

Should I not use Ap divs? And if not what should I use?
Or should I use something other than a timeline to this?

Thanks.
serepro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Nov 29th, 2007, 21:15   #2 (permalink)
Moderator
 
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,155
Re: Timeline difficulties

You could use javascript (but check what happens when it's disabled). Like this:

Code: Select all
document.getElementById("myImageID").src = "newImageFileName.xxx"
MikeHopley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Nov 29th, 2007, 21:36   #3 (permalink)
New Member
 
Join Date: Nov 2007
Location: Florida
Posts: 3
Re: Timeline difficulties

I've never used Javascript before so where would I insert this code at?

By the way here's a page of my website I'm creating...
http://www.serepro.net/aboutus.html
Just to give you a better idea of what I'm trying to do.
The layers are off centered, and that's what I'm trying to fix. They are centered in Dreamweaver, however.
serepro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Nov 29th, 2007, 23:41   #4 (permalink)
Moderator
 
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,155
Re: Timeline difficulties

Oh god, now I see what you're doing.

You definitely need to stop using "AP div tags" (or absolute positioning, as we who live outside the Dreamweaver habitat call it).

Absolute positioning is a powerful tool. Do not use it unless you understand how it works; it can destroy website layouts in a heartbeat.

As for changing images, I can't imagine how you could do this without a scripting language, and javascript is the obvious choice. It's possible that Dreamweaver can manage this for you, with some bloated, hoary widget; but that dark art is beyond my comprehension.

Quote:
They are centered in Dreamweaver, however.
Sadly, this means absolutely nothing. Dreamweaver's preview is useless, because nobody uses DW as a browser. Test in Firefox (or Opera, or any other good browser), and hack for IE.

Last edited by MikeHopley; Nov 29th, 2007 at 23:44.
MikeHopley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Nov 30th, 2007, 18:23   #5 (permalink)
New Member
 
Join Date: Nov 2007
Location: Florida
Posts: 3
Re: Timeline difficulties

Hmm.. this is what I feared.

Does anyone else know a "bloated, hoary widget" I can use in Dreamweaver for this? Otherwise I guess I'll just abandon the whole idea of switching images.
serepro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Nov 30th, 2007, 18:39   #6 (permalink)
 
JustinStudios's Avatar
 
Join Date: Mar 2007
Location: USA
Posts: 457
Blog Entries: 3
Send a message via MSN to JustinStudios
Re: Timeline difficulties

The "next" button works fine. If you want the images to cycle with javascript then I'd use code someone already made. And after a quick google search I found this.

http://www.javascriptcity.com/scripts/img/simage5.htm

Now this has captions as well, but you can get rid of those.
__________________
My Website www.justudios.com is here!
Availability: YES | NO
ASP | PHP |Flash | Design | Contract Work
JustinStudios is offline  
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

Thread Tools
Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Animated Timeline in Flash student_in_training Flash & Multimedia Forum 3 Nov 19th, 2007 14:12
Help with timeline transition LyndonSG Flash & Multimedia Forum 1 Aug 15th, 2007 07:56
Flash Timeline problems jjpeacha Flash & Multimedia Forum 7 Aug 14th, 2007 21:58
trouble updating within timeline haightdays Flash & Multimedia Forum 10 Jan 14th, 2007 20:38
Cross-Browser difficulties... Dapandyman CSS Forum 6 Dec 9th, 2006 20:53



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 14:05.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


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 56 57 58 59