I've defined my link in my .css as such:
A:link
{
FONT-WEIGHT: bold;
FONT-SIZE: x-small;
COLOR: #3399cc;
text-decoration: underline;
FONT-FAMILY: Verdana, Arial, Helvetica, 'Times New Roman'
}
A:visited
{
FONT-WEIGHT: bold;
FONT-SIZE: x-small;
COLOR: #3399cc;
text-decoration: underline;
FONT-FAMILY: Verdana, Arial, Helvetica, 'Times New Roman'
}
A:hover
{
FONT-WEIGHT: bold;
FONT-SIZE: x-small;
COLOR: #ffffff;
text-decoration: underline;
FONT-FAMILY: Verdana, Arial, Helvetica, 'Times New Roman'
}
But then when i use a popup through javascript:
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
And then use a link such as:
<a href="#" onclick="MM_openBrWindow('http://www.link.com','link','width=300,height=160')">LINK</a>
Something happens that i don't want to happen which is that whenever i press the link the popup works alright, but my page jumps up to the top aswell!! i'm thinking this is because i used a # in the link, but if i don't do that the link is not 'seen' as a link and the stylesheet doesn't make it 'look' like a link.
Only because it can't find an anchor with id="n" on the page. The correct thing to do is to add return false after the function call. This prevents the link from going anywhere.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
Now the popup works smoothyl except for that i can't seem to remove the adress bar from my popup window.
I tried using various 'location' commands and tried the dreamweaver behaviour command to turn it off, yet it still shows while all the rest (toolbar and such) are gone. Any idea?
Now the popup works smoothyl except for that i can't seem to remove the adress bar from my popup window.
I tried using various 'location' commands and tried the dreamweaver behaviour command to turn it off, yet it still shows while all the rest (toolbar and such) are gone. Any idea?