Log In · Register

 
 
Closed TopicStart new topic
Can links be targeted to layer (div)?, <a href="URL" target="layer"> can??
nnkw
post Nov 15 2005, 11:56 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Apr 2005
Member No: 121,757



i made a website that is completely divided by layers.
I thought I pages can be link to the content layer
however it did not work!!!!!!!!!!!!!!!!!! T.T

the code is like this
<a href="URL" target="layer"> can??

expects out there please kindly explain to me can it be done? or is there anything wrong? or any alternate way of doing the same task????
 
hi-C
post Nov 16 2005, 12:16 AM
Post #2


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



Moved to programming.
 
*mipadi*
post Nov 16 2005, 02:00 AM
Post #3





Guest






You can't target to a <div>; the closest you can come is an <iframe>.
 
add1cted2f1re
post Nov 16 2005, 07:52 AM
Post #4


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



QUOTE(nnkw @ Nov 16 2005, 12:56 AM)
i made a website that is completely divided by layers.
I thought I pages can be link to the content layer
however it did not work!!!!!!!!!!!!!!!!!! T.T

the code is like this
<a href="URL"  target="layer"> can??

expects out there please kindly explain to me can it be done? or is there anything wrong? or any alternate way of doing the same task????
*


whats the website?

oh and with dealing with "target"s you need to put an underscore before effect... um... like

CODE
<a href="URL" target="_blank"></a>


like that... i dont know what iframes are
 
ryanoman
post Nov 29 2005, 06:25 PM
Post #5


=]
*****

Group: Member
Posts: 712
Joined: May 2004
Member No: 15,626



If your using Iframes, and you want a link's content to appear in one of the Iframes, the format would like this:

CODE
<a href="url" target="Iframe Name">


For example, an Iframe name could be 'main' and it could load from the Iframe 'navigation'.
 
freeflow
post Nov 29 2005, 07:17 PM
Post #6


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



QUOTE(add1cted2f1re @ Nov 16 2005, 4:52 AM)
whats the website?

oh and with dealing with "target"s you need to put an underscore before effect... um... like

CODE
<a href="URL" target="_blank"></a>


like that... i dont know what iframes are
*

you don't need a _ . like with iframes you don't so the _ isn't nescessary.
 
Fabio.
post Dec 2 2005, 11:48 AM
Post #7


^ Mrs. Jonas
*****

Group: Member
Posts: 592
Joined: Apr 2005
Member No: 263,313



the underscore (_) is only needed for the 'presets'... such as _blank, _parent, _self... otherwise you just name your iframes such as "main" or "navigation" or something.
 
moorepocket
post Dec 2 2005, 09:14 PM
Post #8


Death is a promise given to us at birth
*******

Group: Official Designer
Posts: 4,757
Joined: Mar 2004
Member No: 7,459



is it like all the contents are on one page?

Cuz that you can use link anchors.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: