hi,
how do I use the popup window to display a html page?

I look for documentation but cannot find anything. I downloaded and installed in drupal 6
in the settings what do I do? what is a preset? an example would be nice
how do I set a preset, and how to use, example href code would be nice

thanks
daniel

Comments

booddha’s picture

"jQuery Popupwindow turns any desired link into a popup window. After installing the module, you can simply add new 'presets' for links of the class you wish at /admin/settings/jquery_popupwindow, such as for 'a.print', and then set the options you wish (such as width, height, resizable, scrollbars, etc). You can add as many presets as you wish, and you can separate link classes within the same preset with commas (i.e., 'a.print, .menu a')."

Yes, and after?
Why is there this site has ever THERE examples showing how to do this or that.
The plugins are delivered as is. No instructions, nothing ...????
While many people use Drupal, but many would be attracted to a community gives up very talkative.

(Scuse me for my poor English)

schapel’s picture

I need some help - am new with Drupal. I installed the jQuery PopupWindow module and entered the first preset link as: www.schapel.info/sites/default/files/myPage.htm.

The problem is I do not know how to call this. I have a simple java script on the page where I want to open the popup - it works:

// Popup window code function newPopup(url) { popupWindow = window.open( url,'popUpWindow','height=400,width=420,left=100,top=100,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes') }

I call this function with a button:input name="Submit" onclick="JavaScript:newPopup('www.schapel.info/sites/default/files/Mypage.htm');" type="submit" value="Run Model"

It would be nice to be able to use the jQuery module. Can anyone help out?

Steve C

AndrewT’s picture

AndrewT’s picture

I played around with it, and it's easy. The "jQuery link selector:" is meant for any css tags you want to create for your links. So, I put in:

a.instructor

Then, in the node where you will be using the link, you enter the css class tag name in the link. In my example that would be:

<a class='instructor' href='link/to/my/page.php'>

I hope that helps.

Cheers,
Andrew