uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Javascript window

Knowledge Base Lobby : uDirectory Support Conference : Modify uDirectory Scripts
Dec-13-17 07:39 PM EST
Original Message
Javascript window
Author James on 09-20-2000 at 14:38 (EST)
I would like to display a listing for virtual tours I created in a pop up window. Where on the script do I do this? For example line 15 says virtual tour link, I type it in and it goes to config text for that file. However in the pl script I'm not sure where I can add the javascript to do this?

Thanks in advance.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Javascript window Bill Weiner, 2000-09-21 13:29:20 (1)

Messages In This Discussion
         1. RE: Javascript window
        Author Bill Weiner on 09-21-2000 at 13:29 (EST)
I'm not entirely sure where you want to add the JavaScript pop-up window. Are you referring to just somewhere on the HTML page... or when someone clicks on a specific listing.

If you just want the JavaScript/popup window somewhere on the HTML page, then obviously you can use the category's custom TOP HTML, MIDDLE HTML, or BOTTOM HTML fields to add the JavaScript code.....so I'm guessing you actually want the JavaScript pop-up window to appear when someone clicks on a specific listing?

There is no easily configurable way at this time to do that at this time, but if you are familiar with Perl, you can try making a mod to the code yourself. As a hint, first do a search on "sub get_listing_html" to get to the start of the subroutine that generates the HTML for each listing. At three different places in that subroutine, you will see where a hyper link from the image is setup via the "a href" syntax. Those are the lines where you may want to add your custom "onClick" JavaScript code. Or if you just want to pop a window for the links.... perhaps you can just add a target="_new" to that portion of HTML.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.