Back to where you were in IE vs FF !

S

Spike

Interesting phenomena

I have a large page of thumbnails that are linked to full size images in
another folder on the web.

After scrolling down the page and selecting an image to view and using the
back button in IE, the thumbnail page returns to the top of the page
requiring the user to scroll down after each selection to get to the next
image. In FF the user is returned to the last image selected.

Could open each image in a new window and close the window to return to the
thumbnail page, but have not found an easy method to open images in a new
window using publisher.

Any ideas on this one.

Spike
 
M

MAURH

Spike, could you not use this code that I use for opening another website in
a new window?

<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>

Insert a link to the image instead of the URL?

Maureen
 
S

Spike

Maureen

Your way works Thank You
Hyperlink on picture =

javascript:Show('/folder/folder/image.jpg','')

Just have to be careful with the ' '," etc. when editing the kinks
Lots of pictures from our last trip that the family is begging to see

I found another way that works:
insert:

<base target="main"></head>

That opens hyperlinked pages in a new window
If I hyperlink the image I do not get a new window
If I hyperlink the text under the image explaining the image I get a new
window.

I will go with your method as most people click on the image vs. the text

Spike
 
M

MAURH

You are welcome Spike, I was sure you could adapt it somehow...you
understand coding better than I do!

Yes you do have to be careful with the quotes. I now keep the basic string
of code in notepad with a few *** where I want to insert the URL, but even
then I still double check it before putting it in the pub.doc.

Glad it worked for you.

Maureen
 
D

DavidF

Spike and Maureen,

I also use the ECMAScript code approach to opening a new window. Spike since
you are opening just jpgs you might want to add some attributes to the basic
link. For example using a full absolute link to make it easier for others to
follow:

javascript:Show('http://www.yourwebsite/folder/folde...rollbars=no,height=640,width=480,left=5,top=5')
This link would open a new window without toolbars or scrollbars that is 640
pixels wide and 480 pixels high in the top left hand corner 5 pixels down
and 5 pixels to the right. This would make for a cleaner window for you if
all your pictures were 640 X 480.

Anyway, you can read about the different attributes you can add to the link
in the article:

http://office.microsoft.com/en-us/publisher/HA011587451033.aspx

DavidF
 
S

Spike

Thanks

That was my next step. Now I don't have to research the resolution settings
(you did that for me)

Spike
 
D

DavidF

You are welcome...timing is everything they say.

I use a similar string to launch a slide show in a new window which
automatically centers. Being able to control the attributes of the window is
handy.

DavidF
 
M

MAURH

Ooops! Sorry Spike I missed the bit out about 'toolbars etc.,' that DavidF
has given you. I have it in my collection in Notepad but have never had
occasion to use it, so forgot to include it.

Hope it has all worked for you and your family are enjoying the photos!

Maureen
 
S

Spike

Thanks

My NOTEPAD collection grows with each contribution on this forum.
The images I am working with are 800 X 600 and 600 X 800. The originals
are 1600 X 1200 and I use Infranview to reduce image size for the web. The
"Batch Conversion" option makes it easy and the quality of reduction is very
good for web work.

To make things easy I set the window to 800 X 800 that way the orientation
of the image is of no consequence. There is white space on each orientation
but that is livable. Like you suggested I have been setting the code in a
notepad file and use "######.###" for the image, then substitute the real
name at the time of hyperlinking. So far it is going well. As in all
families some use IE, some use FF, there a few MAC's and probably more other
browsers I don't know about. I can test in IE and FF. I still us IE as my
primary browser and keep FF on the side for testing.

Have not completed the site yet as we still need to go over the daily diary
the other half maintained and a hoard of photos. While I am rambling, here
is another tidbit if information that some may use. I set up folders on the
server for each location on a trip and FTP the images to the server rather
than trust the memory card and the camera to hold hundreds of photos. Also
since the other half stayed longer, I get photo updates of her trip on the
server. Can NEVER have too many backups.

We already planning a return trip. Keep the oven warm "CAKE" :)
Thanks for the hints and suggestions.


Spike
 
M

MAURH

Spike,

I find Notepad a good place to store code snippets etc. I have many stored
there which I have acquired from this newsgroup....some I've used, others
are there just in case...should the occasion arise!

I too use Irfanview for reducing the size of images for my website. To make
for faster loading, I try to get them down to 30kb or below without losing
too much clarity, so the size is probably 450 x something.
One thing I have learned though, is that the quality of your photos depends
on the quality of your camera. Photos that I took with my old digital camera
left something to be desired in the quality, so I invested in a new, higher
pixel camera and there really is no comparison in the clarity. Still lessons
to be learned!

Glad you enjoyed your trip across the pond, :) I'm sure you're looking
forward to the next one.

Maureen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top