Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 05:16:00 PM

Pages: 1 [2]   Go Down
  Print  
Author Topic: How can I make a layer into a link?  (Read 986 times)
Santos
Jabba the Hutt
*****
Offline Offline

Posts: 562


WWW
« Reply #15 on: November 16, 2001, 09:49:00 AM »

Get into chat hehe, actually i just tried your exact code and welllll to be honset it worked, red layer quite large and linked    

This is what i did with yer code this would be proper editting  

 
quote:

/-->

<html>
<head>
<style type="text/css">
   
   
   #layer1 {
      position:absolute;
      left:19px;
      top:21px;
      width:580px;
      height:167px;
      z-index:1;
      background-color: #FF3333;      
     layer-background-color: #FF3333;    
      border: 1px none #000000   

}

</style>
</head>
<body>
<A HREF="..amateur/jack.mp3">

<div id="layer1"></A>
</body>
</html>



Paste that into a NEW html document then check it in browser and it works

[ November 16, 2001: Message edited by: Santos ]

Logged

Smile, it makes people wonder what you're up to...
ryking
Pong! (the videogame) Master
*****
Offline Offline

Posts: 20


WWW
« Reply #16 on: November 16, 2001, 10:16:00 AM »

for some reason the red block appears but is still not linked when I preview in browser

also I couldn't get into chat because I failed to write down what ever obscure nickname I chose
(I had a lotta names those days...)
Logged
ryking
Pong! (the videogame) Master
*****
Offline Offline

Posts: 20


WWW
« Reply #17 on: November 16, 2001, 10:39:00 AM »

I also just tried to create it on lunar pages and it linked but the cursor didn't change to a hand

which is cool

but i'm still screwing around in dreamweaver because i want to be able to drage and resize these mothers quick.

also whats that little symbol at the top of your html santos?
Logged
Santos
Jabba the Hutt
*****
Offline Offline

Posts: 562


WWW
« Reply #18 on: November 16, 2001, 10:51:00 AM »

Yeah it will link however because of the div style no hand will appear UNLESS you have text/image inside the layer.

Hope that helps  

Little sign on top was comment making sure lunarpages didnt recognize it as actuall html code  

Hope your all set?
Logged

Smile, it makes people wonder what you're up to...
ryking
Pong! (the videogame) Master
*****
Offline Offline

Posts: 20


WWW
« Reply #19 on: November 16, 2001, 10:52:00 AM »

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">


#layer1 {
position:absolute;
left:19px;
top:21px;
width:580px;
height:167px;
z-index:1;
background-color: #FF3333;
layer-background-color: #FF3333;
border: 1px none #000000

}

</style>
</head>

<body bgcolor="#FFFFFF">
<a href="..amateur/jack.mp3"
<div id="layer1" style="left: 19px; top: 53px"> <a href="..amateur/jack.mp3"></a>
</div>
</a>
</body>
</html>

I added an extra link code around the div tag (I pretend to talk like some one who knows html..)

and dream weaver highlighted it (yellow for mistake i guess)

but i previewed it and no it works

that was wierd

thanks for the help everyone

lunarpages.complease enjoy these
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to: