Email conversation
From | Brian |
To | Me |
Subject | Help with text pop script from your website |
Date | 30 May 2007 01:57 |
Hi,
When using your text pop up script where the link says open a popup
containing text on your site, I added that code to my html page, and the
code works, but I want to open an html page inside there. Can that be done?
I am only able to change the word inside the quotes. As in your example on
your website the word 'Contens' is what shows inside the popup...Can't I
change the <a href="noPop.html" to another page, and have that page load
instead of the word or words in the quotes? ' '
I have tried to change the "noPop.html" and it still only shows 'Contents'
in the popup window. I may need you to cut/paste some updated code back to
me.
Thanks
From | Me |
To | Brian |
Subject | Re: Help with text pop script from your website |
Date | 2 June 2007 16:47 |
Brian,
> I want to open an html page inside there
The "text" contents can actually contain whatever you want, including HTML.
However, I suspect you want to use a normal Web page, in which case you are
using the wrong version of the script.
Firstly, you need to use a link like this to open the popup:
<a href="whatever.html"
onclick="window.open(this.href,'_blank','LIST OF OPTIONS');
return false;">
(Where 'LIST OF OPTIONS' can be configured using something like this tool:
<http://www.howtocreate.co.uk/tutorials/jsexamples/popwin.html>)
That opens the popup. Then if you want it to resize to fit its contents, you
need to use the right version of my script. Look for the heading "Resizing
the inside of the current window" on this page:
http://www.howtocreate.co.uk/perfectPopups.html
You can detect the onload event to call the resizeWinTo function.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Brian |
To | Me |
Subject | Re: Help with text pop script from your website |
Date | 5 June 2007 06:21 |
Hi,
Thank you for the info...