Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-02-2004, 02:29 PM links
allmagica's Avatar
Skilled Talker

Posts: 79
Trades: 0
Hello,

I am trying to learn html on my own and I have few questions, i hope they are not too elementary to ask here.

I wonder, is there a difference between:

1. <a href="url" target="resource window">link</a>
and
2. <a href="url" target="_blank">link</a>

Shoot me, but I just cant find out how to link to a file that is in another folder within my site. Anyone can help?

Thanks in advance.


allmagica is offline
Reply With Quote
View Public Profile Visit allmagica's homepage!
 
 
Register now for full access!
Old 11-02-2004, 02:36 PM
WaHoOoO!'s Avatar
Mentally Unstable Tugboat Captain

Posts: 797
Name: Chad
Location: /usr/bin/perl
Trades: 0
The target is the target frame of a link. "_blank" indicates a new window..."resource window" would be indicating a frame called "resource window."
__________________
He's baaaaaaaack....
WaHoOoO! is offline
Reply With Quote
View Public Profile Visit WaHoOoO!'s homepage!
 
Old 11-02-2004, 02:45 PM
allmagica's Avatar
Skilled Talker

Posts: 79
Trades: 0
Thanks. There seems to be no difference among a new frame and a new window, right?
allmagica is offline
Reply With Quote
View Public Profile Visit allmagica's homepage!
 
Old 11-02-2004, 02:46 PM
Extreme Talker

Posts: 160
Trades: 0
No question is too simple!

The target attribute allows you to specify where the specified URL appears.
"_blank" is a target the browser automatically understands. It knows to open a new window and populate the new window with the file referenced by the href attribute.
"_blank" is an example of a pre-defined target, the others are "_top", "_parent" (used for framesets) and the default behaviour of a browser "_self" ( show the new page in the current frame).
When you create a frameset you can give each frame a name and then use the target attribute to target the rendering of new pages. These are user-defined targets.
For example in your frameset file you might have :

<frame src="somepage.htm" name="frame1">

In another file you might have :

<a href="someotherpage.htm" target = "frame1">Someotherpage</a>

The result of clicking the above link would be to display someotherpage.htm in the frame called "frame1"

As to your second question. If you have a folder of html pages next to a folder of images in a main directory you reference images from your pages thus :

<img src="../images/someimage.gif">

The "../" tells the browser to move up one level in the directory structure.
If your page lives next to the images folder then it would just need the code :

<img src="images/someimage.gif">


HTH

Last edited by ElectricSheep; 11-02-2004 at 02:58 PM..
ElectricSheep is offline
Reply With Quote
View Public Profile
 
Old 11-02-2004, 02:56 PM
allmagica's Avatar
Skilled Talker

Posts: 79
Trades: 0
Thanks so much! You cleared both of my questions. ../ was what I was looking for the past 2 hours. Thanks again.
allmagica is offline
Reply With Quote
View Public Profile Visit allmagica's homepage!
 
Reply     « Reply to links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 4.24106 seconds with 12 queries