HighDots Forums  

need help with links

alt.discuss.html alt.discuss.html


Discuss need help with links in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gofigure
 
Posts: n/a

Default need help with links - 05-31-2004 , 04:28 PM







I have been writing personal html pages for myself for deveral years
using html 3.2. But now I need a capability that 3.2 doesn't give me.

How do I make a link that shows on a new page? For instance, if I have
a picture link on one page, how do I make it show on another page?

This will allow my page to remain in place while people link to
pictures and then they don't have to reload my page but just close the
page with the picture on it.

Is this possible with html or is it javascript?

Any help will be appreciated.

Thank you.

Reply With Quote
  #2  
Old   
Els
 
Posts: n/a

Default Re: need help with links - 05-31-2004 , 04:40 PM






gofigure wrote:

Quote:
I have been writing personal html pages for myself for deveral years
using html 3.2. But now I need a capability that 3.2 doesn't give me.

How do I make a link that shows on a new page? For instance, if I have
a picture link on one page, how do I make it show on another page?

This will allow my page to remain in place while people link to
pictures and then they don't have to reload my page but just close the
page with the picture on it.

Is this possible with html or is it javascript?
<a href="newpageorpicture.html" target="_blank">my cat</a>

Not sure if it's in the specs for 3.2 though. It is in
html4.1 transitional, not in strict.

Think twice before you use it though, as it is pretty
annoying to have to close the window after every picture.
Easier to hit the back button (only one button, whereas
alt-f4 is two buttons and two hands needed).

If you worry about people not going back to your page after
the picture, make the picture itself a link to go back to
your page:
<a href="pageyoucamefrom.html" title="click to return"><img
src="mycat.jpg" alt="picture of my cat"></a>
as well as providing a text link to go back.

As far as reloading is concerned, after the first time, the
page is in their cache, won't take time at all, so don't
worry about that.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -



Reply With Quote
  #3  
Old   
gofigure
 
Posts: n/a

Default Re: need help with links - 05-31-2004 , 07:40 PM



In article <2i1ji7Fhom4eU1 (AT) uni-berlin (DOT) de>, Els <els.aNOSPAM (AT) tiscali (DOT) nl>
wrote:

Quote:
gofigure wrote:

I have been writing personal html pages for myself for deveral years
using html 3.2. But now I need a capability that 3.2 doesn't give me.

How do I make a link that shows on a new page? For instance, if I have
a picture link on one page, how do I make it show on another page?

This will allow my page to remain in place while people link to
pictures and then they don't have to reload my page but just close the
page with the picture on it.

Is this possible with html or is it javascript?

a href="newpageorpicture.html" target="_blank">my cat</a
Okay, when I use this with the name of a jpeg and open it with my
browser, it shows the contents of my directory and links to every
directory on that partition.

Quote:
Think twice before you use it though, as it is pretty
annoying
Yes, I think I'll take a pass on this. I have seen imageboards that do
it, but when I access their source code, the actual code is hidden in a
script I don't have access to. Maybe this is one of the reasons why
sevelopers like javascript - so they can hide their work.

Quote:
Easier to hit the back button (only one button, whereas
alt-f4 is two buttons and two hands needed
I think I'll do what you suggested. I wouldn't know about "alt-f4"
because I have a Mac and pages that pop up like that simply need one
click and they're gone.

Thanks for the help.


Reply With Quote
  #4  
Old   
gofigure
 
Posts: n/a

Default Re: need help with links - 06-01-2004 , 12:49 PM



In article <1wuo0kpyqjxin$.dlg (AT) bruciesusenetshit (DOT) info>, brucie
<shit (AT) bruciesusenetshit (DOT) info> wrote:

Quote:
in post: <news:310520041640579229%gofigure (AT) lzdfihogudifoy (DOT) com
gofigure <gofigure (AT) lzdfihogudifoy (DOT) com> said:

a href="newpageorpicture.html" target="_blank">my cat</a

Okay, when I use this with the name of a jpeg and open it with my
browser, it shows the contents of my directory and links to every
directory on that partition.

you've made a mistake. the above link on a page should open the
newpageorpicture.html file in a new browser window.
As a matter of fact, it does exactly as you and Els said it would - pop
up a new page. I did make a mistake, like you said, but I figured it
out by myself by looking closely at the code, concentrating real hard,
and there it was (two sets of " marks like this ""). Manual debugging.
Gotta love it.

Quote:
heres a simple demo of clicking on a
small image to see the larger image
in a new window:
http://moreshit.bruciesusenetshit.in...ge-thingy.shit
I clicked on the thumb and a blank page comes up. See, I haven't been
able to do that with html 3+, so I'm letting some html 4+ sneak in
where I can get something useful out of it.

What I have is a site designed for broadband. There are many pictures
on the page, no thumbs. For the dialup guys, I have a text only page
with no thumbs, just the text links. My thinking was, and I may be
wrong, it wouldn't be the first time, that having the picture pop up on
a separate page would be better because, rather than wait for the
cached page to reload, all the user would have to do is close the page
with the picture on it and the page would not have to reload.

I understand that this might be a problem that only I am experiencing
because I am using a 5 year-old Wall Street PPC working at 233 mhz.
Maybe you faster folks can reload a page more quickly than I.

The pop up page is a feature I've always liked. The feeling I get here
(from you and Els) is not everyone does.

Quote:
I have seen imageboards that do it, but when I access their source
code, the actual code is hidden in a script I don't have access to.

to see the image the browser needs to access the script. if the browser
can access the script then so can you.
Okay, I have all scripting features turned off. I have always thought
of it as a security risk, so if I run across it on the web I don't get
to see it. So what you're saying is, if I had scripting turned on, I
could access the script source code same as I can see and save
someone's html code? Makes sense.

Thanks for the help, both to you and to Els. Now it's just a matter of
deciding which way to go, popup pages or no. Since I have no
advertising, perhaps that would make it less objectionable :-)


Reply With Quote
  #5  
Old   
gofigure
 
Posts: n/a

Default Re: need help with links - 06-01-2004 , 01:02 PM




Sorry, I forgot to say that I changed my handle to gofigure from boom.

Another thing I forgot to mention in favor of popping up new pages is
the idea that one can pull the linked-to page aside or hide it while it
loads and continue reading the original page. Much better if one has
dialup (mine was 24k) and things are slowed on the server side if a
proxy is used.

Reply With Quote
  #6  
Old   
Els
 
Posts: n/a

Default Re: need help with links - 06-01-2004 , 01:09 PM



gofigure wrote:

Quote:
Sorry, I forgot to say that I changed my handle to gofigure from boom.

Another thing I forgot to mention in favor of popping up new pages is
the idea that one can pull the linked-to page aside or hide it while it
loads and continue reading the original page. Much better if one has
dialup (mine was 24k) and things are slowed on the server side if a
proxy is used.
One can do that by right clicking the link (sorry, don't
know how Mac users do it) and chosing 'open in new window'
or 'open in new tab'.

As for pulling aside, I really hate the popups on
thumbspages, because they usually pop up mid screen, in
front of the thumbs. I have a 1280x1024 screen, so I do have
some space to pull a popup to the side, but on a 800x600
screen, this is pretty difficult. It will go behind the
original page, and you don't see when it's done loading. (I
used to be on a 33k6 connection on a 8MB 486 machine with a
max resolution of 800x600 until a year ago, so I know what
I'm talking about)

However, if you would still go ahead and have popups, do
your viewers at least one favour: make the popup always come
to the front when it's loaded. Something to do with 'focus'
in JavaScript I believe.
That way, we don't have to close the popup before chosing
the next thumb. Nothing more annoying, than using alt-tab to
go back to the thumbs page, clicking on thumb number 2, and
think nothing happens, while in the back, the first popup
has loaded the second picture. Make it come to the front
when it loads, and re-use the popup. You can do this by
giving it a different name than _blank. For example
target="gofigure". The second link will open in the
previously opened window with the name 'gofigure'.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -



Reply With Quote
  #7  
Old   
gofigure
 
Posts: n/a

Default Re: need help with links - 06-03-2004 , 11:53 PM




Els & brucie:

Thanks again.

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.