UPDATE: large image opening in new browser window
  • I love your application. It is just what I needed. But I have a problem that stems from my html on the page (maybe).

    I am testing with IE 7/8 and FF 3.6.8, all on a windows XP machines. I have a web application that is using jQuery 1.4.2 with UI version 1.8. When I use your application, along with all of my other jQuery plug-ins, it operates as you advertised. But when I plug my website html structure into the mix, the large images (as a result of a user clicking on a thumbnail) open in a brand new browser window. But for the life of me, I can not figure out why. Any suggestions would greatly be helpful.

    My feelings won't be hurt, if it turns out that I am a dummy.

    I have put both examples up on a website:

    - Your example that works is at http://www.serco-hrc.com/testMe/prettyPhoto.html. This is an example that has the image data hard coded into the html. But it also has all the jquery plug-ins installed into the head section of html.

    - My application is at: http://www.serco-hrc.com/testMe/index.html. This one is broke. I thought I might be having a conflict between my security notice (dialog/modal box) and your plugin. But I have my modal dialog box commented out of my javascript, so that the text appears at the bottom of the screen. To see what I am seeing, do the following:
    - Click on the Small Arms menu item.
    - Click on the A085 data row that will appear. This will feed static xml data into a tabbed type of display.
    - Click on the Multimedia/Photos tab. This is where my photos and photo groups/galleries will appear. Currently this selected row only contains one photo. I tried to keep it simple until I work the main bugs out.
    - If you click on the 'thumbnail', the application acts wrong and opens the main image into a new IE window.

    What am I doing wrong???
    r/
    Anthony Jackman
    US Navy Senior Chief Petty Officer (ret)
    energeticpixels@gmail.com



    UPDATE UPDATE
    Ok, through a little troubleshooting, I found that my issues stem from a javascript file conflicts. It is between a jqGrid plug-in and this prettyPhoto.js plug-in. Now, how do I find where the applications are failing at specifically?? I have tried moving the jqGrid (js/css) and prettyPhoto (js/css) links around in the head and body of my application, with no good result. jqGrid is operating just fine in all instances. I saw somewhere on the net that prettyPhoto sometimes has issues with other plugins where a (".") is used. I modified where I found it and still no change. Help!!
  • I figured it out!! Yah. I had to put the js call within a button on my page. Now everything works. Whew.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!