Click to See Complete Forum and Search --> : Sorry to bother you with all of these qustions


xlegend
07-14-2003, 03:45 PM
I have two other questions. First... I would like to know if there is a way to change the background color of a frame. Second... The server that is hosting my site has a million banners. I have a bunch of links in one of my frames.


like this

<br><br><br<br><br><br><br>
<a href="">Link1</a>
<a href="">Link2/a>
<a href="">Link3/a><br>
<a href="">Link4/a>
<a href="">Link5/a>
<a href="">Link6/a>
<br><br><br<br><br><br><br>

I used so many enter tags so that the banners don't touch my links. I also used them so that I won't see them in the frame if I can somehow set the webfocus to the links instead of the top of the page. Is there a way to do this? So that no one can see the banners in the frames? BTW... I set the scrollbars to not show up so it's all gravy. Thank you!

xlegend
07-14-2003, 06:56 PM
I searched google and came up with

<script type="javascript/text">
function Bannergone();
{
setfocus y for ++ y = <a href="">Link 1</a>
}
</script>

This looks like a bunch of spam to me. BTW... if setting focus on a link isn't possible, I could work with pictures. Can anyone please point me in the right direction here. I'm totally lost. In addition, I haven't been able to find a way to change the background color of a frame. What method should I use for this? Please forgive my lameness. I only just started working with frames.

Thanks

Curtis

Exuro
07-14-2003, 08:07 PM
Here's a solution I came up with. All you do is give your first link in your menu thing a name and/or id. Let's say you called it "lnk1". So your code might look like this:

<a name="lnk1" id="lnk1" href="">Link 1</a>

Next, inside your <frameset>, set the src attribute to the page with the links, with a #linkname at the end. So as an example:

<frame name="menu" src="menu.html#lnk1">

It isn't JavaScript, but I'd say this will probably work better than a script anyway. Hope that helped!