holden89
05-28-2007, 02:12 PM
1) Script Title: Rollover background-color button
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/button3.htm
3) Describe problem:
Hi, I have created an inline frame and placed the navigation page in it, so it doesn't need to be updated on every single page. You can find that page here (http://surfinthebay.net/menu2.htm). It will be showing up here (http://surfinthebay.net/newlayout2.htm). However because it is in the frame, it loads either within the frame, or creates a new window (as written in script). I was wondering what I need to change:
//Specify optional button target: "_new" for new window, or name of FRAME target (ie "myframe")
var buttontarget="_new"
to, in order for it to load the whole page, not just the frame or in a new window.
Also, do you know what can be changed so that when it is clicked, the border doesn't thicken ie, from 1px to 2px... I want it to stay 1px?
I would appreciate any help. If anyone knows how to maybe put the script (with the links) in a file, and link to that instead so the scripting isn't as messy, and wouldnt need a frame, I would appreciate it.
Thanks, Daniel
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/button3.htm
3) Describe problem:
Hi, I have created an inline frame and placed the navigation page in it, so it doesn't need to be updated on every single page. You can find that page here (http://surfinthebay.net/menu2.htm). It will be showing up here (http://surfinthebay.net/newlayout2.htm). However because it is in the frame, it loads either within the frame, or creates a new window (as written in script). I was wondering what I need to change:
//Specify optional button target: "_new" for new window, or name of FRAME target (ie "myframe")
var buttontarget="_new"
to, in order for it to load the whole page, not just the frame or in a new window.
Also, do you know what can be changed so that when it is clicked, the border doesn't thicken ie, from 1px to 2px... I want it to stay 1px?
I would appreciate any help. If anyone knows how to maybe put the script (with the links) in a file, and link to that instead so the scripting isn't as messy, and wouldnt need a frame, I would appreciate it.
Thanks, Daniel