|
ryking
|
 |
« on: November 16, 2001, 06:08:00 AM » |
|
I use dreamweaver and i want to make clickable blocks of color that overlap and link them to mp3's. The easiest way i thought to do this was to draw layers and change the background color and then link the layers as I would with text or an image. (in dream weaver you can right click and choose "make link") but there is no option for this on my version of dreamweaver. so I tried kind of sticking this <A HREF="URL"></A> around in the layers tag but i'm not really sure where to put it if indeed this is the solution cause it's not working so friends I offer it up to you thanks alot www.lunarpages.com/ryking
|
|
|
|
|
Logged
|
|
|
|
|
TWebMan
|
 |
« Reply #1 on: November 16, 2001, 06:37:00 AM » |
|
You didn't specify a version of Dreamweaver, but in any case, check out the DropDownMenus at http://www.lunarpages.com/twebman/script/js/I'm not sure if that's what you're looking for, but you may want to check it out.
|
|
|
|
|
Logged
|
"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila." - Unknown "Liberty of any kind is seldom lost all at once." - D. Hume Every day is an Ode to JoyThe planet will be fine... and so will your site
|
|
|
|
ryking
|
 |
« Reply #2 on: November 16, 2001, 06:47:00 AM » |
|
dreamweaver 3.0
thanks dude but thats not exactly what i mean
in dreamweaver you can click and drag to creat a sqaure or rectangle layer (DIV- what ever that means)
so i just want to use this techniqe to create a bunch of randomly placed blocks of color much like if you took contruction paper and scattered it on the floor (assuming your contruction paper snaps to grid)
and then these blocks when clicked would point to an mp3 to download
|
|
|
|
|
Logged
|
|
|
|
|
TWebMan
|
 |
« Reply #3 on: November 16, 2001, 07:13:00 AM » |
|
Why not just use table cells? You can make table cells links. You can adjust the size, width, height of each cell using a 1x1 pixel transparent spacer image. Set the image h and/or w to what you want the table cell to be, set the bgcolor of the table cell to what you want it to be.
[ November 16, 2001: Message edited by: TWebMan ]
|
|
|
|
|
Logged
|
"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila." - Unknown "Liberty of any kind is seldom lost all at once." - D. Hume Every day is an Ode to JoyThe planet will be fine... and so will your site
|
|
|
|
ryking
|
 |
« Reply #4 on: November 16, 2001, 07:18:00 AM » |
|
awsome
I will try this right now
|
|
|
|
|
Logged
|
|
|
|
|
ryking
|
 |
« Reply #5 on: November 16, 2001, 07:30:00 AM » |
|
this is alot closer thanks!
but I still can't link it
the "make link" is greyed when i right click...
|
|
|
|
|
Logged
|
|
|
|
|
Santos
|
 |
« Reply #6 on: November 16, 2001, 09:16:00 AM » |
|
Ok to link whole layer box, simplest way to do this would be inserting A HREF=LINK tag BEFORE DIV then CLOSING /A TAG AFTER /DIV. YOU MAY ALSO insert HREF=LINK without a's INSIDE the DIV tag
Both will link the whole layer/div and the text/images and content in it.
If you need a rollover thats bit more difficult, you woulkd have to asign a specific rollover for the specific layer say Div id= 1 assign rollover property for that div.
If you have text within layers and you do not want underlined text as link insert this property in head section.
style>
a{text-decoration:none}
/style>
[ November 16, 2001: Message edited by: Santos ]
|
|
|
|
|
Logged
|
Smile, it makes people wonder what you're up to...
|
|
|
|
ryking
|
 |
« Reply #7 on: November 16, 2001, 09:19:00 AM » |
|
awesome!!
I'll try this right now
back in a jiff..
|
|
|
|
|
Logged
|
|
|
|
|
Santos
|
 |
« Reply #8 on: November 16, 2001, 09:23:00 AM » |
|
edited my message, no need to try i already tested it it works chap Read the second option ya have as well  If any of it didnt make sence i will help ya just ask 
|
|
|
|
|
Logged
|
Smile, it makes people wonder what you're up to...
|
|
|
|
ryking
|
 |
« Reply #9 on: November 16, 2001, 09:30:00 AM » |
|
thank you santos
this is pushing it, but would you be willing to maybe copy me the piece of html that you have done this with so I can use it as reference?
my brain is easily confused when it comes to plain html...
|
|
|
|
|
Logged
|
|
|
|
|
Santos
|
 |
« Reply #10 on: November 16, 2001, 09:35:00 AM » |
|
OK i will not use opening or closing tags which are < > Instead i will use / \ Here is example of #1 /A HREF= LINK\ /DIV ID=whatever\ whatever here //DIV\ //A \ Here is example of #2 /DIV ID=whatever HREF=LINK\ YER STUFF HERE //DIV\ Hope this helps if no just post again and ill explain 
|
|
|
|
|
Logged
|
Smile, it makes people wonder what you're up to...
|
|
|
|
Shadowcrafter
|
 |
« Reply #11 on: November 16, 2001, 09:39:00 AM » |
|
maybe it'd be better if i kept my mouth shut lol...but. what about using hot spots.,. if this advice is lame please explain so i don't do it again. Shadow
|
|
|
|
|
Logged
|
I can't but help to darken your doorstep, I'm a Shadow.
|
|
|
|
Santos
|
 |
« Reply #12 on: November 16, 2001, 09:45:00 AM » |
|
Shadow, who are you..... *just kiddin* I dont know much about dream editor, but hotspots would not link the whole layer i believe, and if thats what ryanking wants... hehe Ryanking come into lunarchat im currently there if you need any more help, link is on mainpage  [ November 16, 2001: Message edited by: Santos ]
|
|
|
|
|
Logged
|
Smile, it makes people wonder what you're up to...
|
|
|
|
ryking
|
 |
« Reply #13 on: November 16, 2001, 09:46:00 AM » |
|
<A HREF="..amateur/jack.mp3"><div id="Layer1" style="position:absolute; left:19px; top:21px; width:580px; height:167px; z-index:1; background-color: #FF3333; layer-background-color: #FF3333; border: 1px none #000000"></A>
I tried this an it said "appears to be invalid code.."
|
|
|
|
|
Logged
|
|
|
|
|
ryking
|
 |
« Reply #14 on: November 16, 2001, 09:47:00 AM » |
|
I know the layer code is right because dreamweaver wrote it
the link part is mine
|
|
|
|
|
Logged
|
|
|
|
|