-
Problem with Rollover background-color button script
1) Script Title: Rollover background-color button
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex5/button3.htm
3) Describe problem: I am trying to use the buttons from this script in one frame to load content in a second frame. I looked at the forum and found a modification which breaks out of the frames and loads a non framed page with the content but I want to load the content in a second frame in the same window.
My target frame is named content.
So in the html I had the following:-
<input type="button" value="Yahoo" class="initial2" onClick="jumpto2('http://yahoo.com', 'content')" >
The script I am using is a modified Dynamic Drive script which looks like this:-
function jumpto2(url, breakout){
if (typeof breakout!="undefined" && breakout=="break")
window.parent.location=url
if (buttontarget=="")
window.location=url
else if (buttontarget=="_new")
window.open(url)
else
parent[buttontarget].location=url
}
Can someone help me with this please.
Thanks,
Mitchellyachting
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks