|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Join Date: Jul 2002
Location: Florida
Posts: 98
Reputation: 5
|
links in same window???
Hello everyone. am trying to have a linking effect like the following:
www.westcoastchoppers.com click on bikes theres a small frame to right, and when you click on link in that right frame window, the pic changes in left larger frame. and yopu can click arrow below to see more pics of same bike. Id like that same type of setup for what Im going to be doing. When I try to insert frame, it inserts either whole side, top or bottom, not inside table. Any help please. THanks very much. Tony |
|
|
|
|
#2 |
|
Mod Squad
Join Date: Apr 2002
Location: Orlando, FL
Posts: 6,972
Reputation: 243
|
Its been awhile since I played with frames...but I think this is what you need...something like this:
<a href="bikes/camel_2_el_diablo/a.html" target="left">link</a> or <a href="bikes/camel_2_el_diablo/a.html" target="content">link</a>
__________________
www.GoLightMedia.com |
|
|
|
|
#3 |
|
Just tryin' to help
Join Date: Jan 2003
Location: along the journey
Posts: 8,036
Reputation: 125
|
When in one frame and you want to change the image in another frame via a link:
1) You must name the image in the img tag 2) The JS then looks like this parent.framename.imagename.src="whatever.jpg" Where framename is the name of the frame that contains the image and imagename is the name of the image. Logically - look up to the parent, then down to the other frame, then down to the image, then change the image source.
__________________
Enhance your PowWeb experience @ B&T's Tips & Scripts Got some free time? You can find Nothing of Value @ PrettyWorthless.com |
|
|
|
|
#4 |
|
Just tryin' to help
Join Date: Jan 2003
Location: along the journey
Posts: 8,036
Reputation: 125
|
If you want to change the image source in the same frame you are in, or you don't use frames:
document.imagename.src="image.jpg" And FYI, you can also change the dimensions with: document.imagename.width= document.imagename.height= in case all the images are not the same size.
__________________
Enhance your PowWeb experience @ B&T's Tips & Scripts Got some free time? You can find Nothing of Value @ PrettyWorthless.com |
|
|
|
|
#5 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
berkswebguy has it right - you use the target attribute. Dreamweaver has a target pulldown in the link property window for this and does a pretty nice job of managing frames.
__________________
Steve |
|
|
|
|
#6 |
|
Just tryin' to help
Join Date: Jan 2003
Location: along the journey
Posts: 8,036
Reputation: 125
|
And not do the coding yourself?
Oh yea . . . this is in the Dreamweaver forum. Well . . . in case you want to know how it really works . . . read my above posts . . . then go ahead and do the Dreamweaver thing. I must confess I have never used it.
__________________
Enhance your PowWeb experience @ B&T's Tips & Scripts Got some free time? You can find Nothing of Value @ PrettyWorthless.com |
|
|
![]() |
| Thread Tools | |
|
|