Active
Project:
jQuery Popupwindow
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 00:52 UTC
Updated:
30 Jan 2011 at 06:31 UTC
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
Comment #1
booddha commented"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)
Comment #2
schapel commentedI 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
Comment #3
AndrewT commentedComment #4
AndrewT commentedI 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.instructorThen, 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