Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
jqGrid and prettyPhoto (jQuery plug-ins) conflict
23/08/2010
18:17
Avatar
Energetic Pixels
Lexington, OK, USA
Member
Members
Forum Posts: 40
Member Since:
12/04/2010
sp_UserOfflineSmall Offline

I love your application. It is just what I needed. But I am running into what seems to be javascript conflicts. I have a web application that uses jqGrid to recover static xml file data and then upon user row select, put specific data found in the xml nodes into specified divs or ids within the DOM.  When the user views the thumbnails and clicks on one of them, prettyPhoto is supposed to go out and get the larger image and display it in a modal dialogue box.  But my application is just displaying that larger image in a new browser window.  I have narrowed down the two offending plugins to the ones named in the subject line.  I have already tried moving the placement of both javascript and accompaning CSS files around.  I have even tried moving the jQuery line that calls either application around.  But I get no good results.  How do I find out where in either application am I getting my conflict????

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 am testing with IE 7/8 and FF 3.6.8, all on a windows XP machines. jQuery 1.4.2 with UI version 1.8.  jqGrid version 3.7.2 and prettyPhoto version 2.5.6

I have put both examples up on a website:

- Your example that works is at http://www.serco-hrc.com/testM.....Photo.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/testM.....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/
TonyFrown

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
35 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information