• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

does this javascript work for you guys? (in IE)

mjquilly

Golden Member
it works for me in Opera, but not in IE. when you click on the pictures, it should pop open a new window, but IE reports errors to me. I don't really know JavaScript, I'm trying to hack this together from code snippets i've seen...

here
 
1st page of thumbnails are not linked, the following pages do popup a new IE window when clicked.
 
yeah, this is a test page so the pages after the first will work, but the first page does work in opera, not sure why IE can't get it
 
If you look at the documentation for window.open for IE, it says that 2nd parameter has to be one of several special values. You can't just put in whatever string you want. Take a look at this page for valid values:

Documenation for window.open()
 
Originally posted by: oog
If you look at the documentation for window.open for IE, it says that 2nd parameter has to be one of several special values. You can't just put in whatever string you want. Take a look at this page for valid values:

Documenation for window.open()

The documentation you referenced doesn't specify that the second parameter must be one of those special values. It's quite common to call window.open() with a window name for the second parameter that you can reference later.

I suspect that the issue is the use of the '.' character in your window name. Instead of

onClick="MM_openBrWindow('2003_0514_073439AA.JPG','2003_0514_073439AA.JPG','width=820,height=620')"

try

onClick="MM_openBrWindow('2003_0514_073439AA.JPG','2003_0514_073439AA_JPG','width=820,height=620')"
 
Originally posted by: MrChad
Originally posted by: oog
If you look at the documentation for window.open for IE, it says that 2nd parameter has to be one of several special values. You can't just put in whatever string you want. Take a look at this page for valid values:

Documenation for window.open()

The documentation you referenced doesn't specify that the second parameter must be one of those special values. It's quite common to call window.open() with a window name for the second parameter that you can reference later.

I suspect that the issue is the use of the '.' character in your window name. Instead of

onClick="MM_openBrWindow('2003_0514_073439AA.JPG','2003_0514_073439AA.JPG','width=820,height=620')"

try

onClick="MM_openBrWindow('2003_0514_073439AA.JPG','2003_0514_073439AA_JPG','width=820,height=620')"

That's true enough. I tested a fix to the code by changing the second parameter to one of the values documented in the link I posted. I suspect that MrChad is correct that other values will also work, and that it may be something like the period in the name you're trying. I didn't check this.
 
Back
Top