Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / June 2006

Tip: Looking for answers? Try searching our database.

need new text box to open on same page when link clicked. Possible

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sanook - 08 Jun 2006 13:23 GMT
You know, those snazzy boxes that pop up or drop down when you click a link,
without a new page opening. Can these be done with publisher? How?

ta


JoAnn Paules [MVP] - 08 Jun 2006 14:00 GMT
You mean those blasted things that would pop up if one didn't have them
blocked because they are annoying?

Signature

JoAnn Paules
MVP Microsoft [Publisher]

> You know, those snazzy boxes that pop up or drop down when you click a
> link,
> without a new page opening. Can these be done with publisher? How?
>
> ta
DavidF - 08 Jun 2006 15:15 GMT
The OP said "...click a link..."...not an automatic popup!

DavidF

> You mean those blasted things that would pop up if one didn't have them
> blocked because they are annoying?
[quoted text clipped - 4 lines]
>>
>> ta
JoAnn Paules [MVP] - 08 Jun 2006 18:44 GMT
I thought he meant one of those pop-ups I've seen that occur when your
cursor rests on a word for a moment.

I still have all pop-ups blocked. I have to ctrl+click to get a new page.
(Have I ever mentioned that I am a bit of a control freak?)

Signature

JoAnn Paules
MVP Microsoft [Publisher]

> The OP said "...click a link..."...not an automatic popup!
>
[quoted text clipped - 8 lines]
>>>
>>> ta
DavidF - 08 Jun 2006 15:22 GMT
There are several ways you can do it. Here is one article to reference
"Hyperlinks that open a new browser window":
http://msmvps.com/blogs/dbartosik/archive/2006/01/13/81266.aspx

You can also use JavaScript. Here is a copy of a post by David Bartosik that
I can't find on his site anymore that explains it:

"Sometimes it can be useful to display information in a small pre-configured
pop-up window. For example if you had a hyperlink that said "more details"
and that link opened a small pop-up with details related to the primary
windows content.

This should not be confused with the intrusive advertising technique of
"pop-up's", that pop-over or pop-under without the visitor's consent or
prior knowledge.

To launch our window we need to use a small snippet of JavaScript. Publisher
has no built-in support for scripting so you use the HTML Code Fragment
dialog to insert the script.

The HTML Code Fragment dialog is located in the Insert menu, and the dialog
is drawn on the page where it is needed like you do with a text box or
picture frame.

Our snippet of code contains the hyperlink so you will insert the code
fragment on your page where you are wanting the hyperlink to be located.
Simply copy and paste the following code:

<a
href="javascript:windowname_window=window.open('pagename.htm','windowname_window','toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=0,width=400,
height=400');windowname_window.focus()">Link Text Display</a>

Obviously you need a web page that this link is opening, that web page is
what is specified in place of "pagename.htm". Replace the link text display
string with your desired hyperlink text.

You will set the width and height numbers to the pixel sizes you want the
web page to be sized to in the pop-up. If you want the visitor to be able to
resize the window change the resizable variable to 1. If you want scroll
bars to not display set the variable for that to 0. Other common settings
you may want to set are - display toolbar, status bar, menubar - yes is 1,
no is 0.

If you use this snippet more than once on a page you will need to change the
"windowname" in each snippet to enable them to differentiate themselves on
the page.

You can see an example of this pop-up technique by visiting barvin.com and
clicking the Contact Us link at the bottom of the page.  David Bartosik"

DavidF

> You know, those snazzy boxes that pop up or drop down when you click a
> link,
> without a new page opening. Can these be done with publisher? How?
>
> ta
sanook - 11 Jun 2006 16:34 GMT
cool will try this

cheers

> There are several ways you can do it. Here is one article to reference
> "Hyperlinks that open a new browser window":
[quoted text clipped - 53 lines]
> >
> > ta
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.