[support] Link URL to open ONLY the node

Cozzi cozzi at blinkitshere.com
Thu Nov 2 15:17:26 UTC 2006


I'd like to add a link in the body of a
node to open (in a popup) the body (and
only the body) of another node.
Currently the link is opening as if I
were visiting the page from the menu
link off on the home page (with all
surrounding blocks) It is just some
simple instruction text so all I want
displayed is information inside the
body.

So far I'm using these URL link
settings:
------ settings ------
GENERAL
Link URL = /node/42
Target = Open in new window (_blank)
Class = Not set

POPUP
Javescript popup (checked)
Popup URL = /node/42
Window name _blank
Size =  400x200
Position = c/c

Show scrollbars (checked)
Make window resizable (checked)
Insert 'return false' (checked)

EVENT
onclick =
window.open('/node/42','_blank','scrollb
ars=yes,resizable=yes,width=400,height=2
00,left='+(screen.availWidth/2-200)+',to
p='+(screen.availHeight/2-100)+'');
------ settings ------

I would also like to make it easy for
the user to "Close this Window".

Any guidance would be appreciated.

Cozzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20061102/d796ef72/attachment.htm 


More information about the support mailing list