PDA

View Full Version : Problem with multiple windows on the same page DHTML Window widget (v1.1)



Millie
05-25-2015, 08:20 PM
1) Script Title: DHTML Window widget (v1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

3) Describe problem: Problem with multiple windows on the same page using DHTML Window widget (v1.1). First two windows load iframes correctly (CH Lakeshore Californication and CH JHFarms Mounds' Amine). Next two windows right below (JHFarms MB's Mr. Cisco and GCH JHFarms Vanilla's Salt) do not load iframe but reload page.

Example of my code:
<a href="#" onClick="calwin=dhtmlwindow.open('infobox', 'iframe', 'http://www.jhfarms.us/pop-
up_sires_cal.html', 'GC Lakeshore Californication', 'width=700px,height=550px,center=1'); return false">CH
Lakeshore Californication</a>

<a href="#" onClick="mrciscowin=dhtmlwindow.open('infobox', 'iframe', 'http://www.jhfarms.us/pop-
up_sires_cisco.html', 'JHFarms MBs Mr Cisco', 'width=700px,height=550px,center=1'); return false">JHFarms
MB's Mr. Cisco</a>

http://www.jhfarms.us/30private_sales.html

I know I am missing something. Any help greatly appreciated. Thank You

molendijk
05-25-2015, 09:43 PM
In your code there is a hard return ('enter') right after pop- both in http://www.jhfarms.us/pop-up_sires_cisco.html and in http://www.jhfarms.us/pop-up_dams_salt.html. I think that is causing the error.

Millie
05-25-2015, 10:46 PM
Arie, TY TY TY. That is it. I would of never caught that. Thank you again for your kind assistance and have a nice day!