Search the Community
Showing results for tags 'window.open'.
-
I am using javascript:void(window.open('http://server1/test/test_update.php?matter="&Fields!matter.Value + "', '_blank', 'fullscreen=yes, scrollbars=auto'));" to launch a report from a SSRS 2008 report that is being viewed within an iFrame. This is done in the Jump to URL. <iframe name='myIframe' id='myIframe' src='http://sqlreports/ReportServer?Report&rs:Command=Render&rc:LinkTarget=_blank&rc:Stylesheet=my_htmlviewer' scrolling='auto' frameborder='0' width='100%' onload='resize_iframe()' ></iframe> the resize_iframe() function just makes the iFrame full screen to whatever the window is made. Before adding the @rc:LinkTarget=_blank to the iFrame, the links did not work. Now, when I click on the link to launch the PHP page I get two windows that open. One opens and renders the page properly: http://server1/test/test_update.php?matter=123456 while the other window opens with the "Internet Explorer cannot display the webpage" error with the following URL: javascript:void(window.open('http://server1/test/test_update.php?matter=123456,%20_blank,%20fullscreen=yes,%20scrollbars=auto')); I'm not quite sure what is causing these two windows to open up. When I remove the @rc:LinkTarget=_blank from the iFrame, the links go back to not working. I've also tried to remove the _blank for the Jump to URL. Any ideas/assistance would be greatly appreciated. Thanks, Jamey8420
- 1 reply
-
- javascript
- iframe
-
(and 3 more)
Tagged with:
-
Hi all, this is my first post. Be gentle! I'm trying to peform a small hack on a Joomla component to better suit by needs... Currently the 'trigger' has an event attached to it, that opens a browser window, the event looks like this (it works fine): $eventprnt = 'onclick="window.open(\'index.php?myurl ='.$item->id.'\')" '; I want to change the function from 'window.open' to 'window.location.href', but the quotes and semicolons thing is killing me (I keep getting T_STRING errors). I've included an example of one of my attempts to give you all a good laugh: $eventprnt = 'onclick="window.location.href ='$index.php?myurl ='.$item->id.'"'; As you can probably see, I could be here for a while unless I ask for help... I've done a lot of reseacrh, and it sounds like I need backslashes, quotes... All sorts of stuff. Unfortunately it's all Chinese to me. If you can give me a pointer, that would be a real help. Mark
- 3 replies
-
- open.locationopen.window
- onclick
-
(and 2 more)
Tagged with: