Popup Window
I have a file called opportunityList.php .It has a search button in it.When I press the button a popup window opens.The file that opens in the popup window is searchOpportunity.php,in which there are some text boxes ,drop down boxes and one submit button.When I press submit button the values in the textboxes should be transfered to the main file i.e. from searchOpportunity.php to opportunityList.php and the window should close.
View Complete Forum Thread with Replies
Related Forum Messages:
Can't Open A New Fullscreen Popup From Another Popup Window
I can't seem to make a fullscreen popup from a page that is already a fullscreen popup. What I want to do is open another fullscreen popup window from a current fullscreen popup that has the link in it. The link that comes up is http://www.somesite.com/"javascript:void(0);/" Here is a sample of the code I am working with. Does anyone see anything wrong? echo '<html>' echo '<head>' echo '<script type="text/javascript" src="/uploads/File/Javascripts/new_window_max.js"></script>' echo '</head>' echo '<body>' echo '<a href="javascript:void(0);" onclick="fullScreen('/uploads/File',$row['map'],'');">Map</a><br>' echo '</body>' echo '</html>'
View Replies !
Populating Form In Parent Window With Value From Popup Window
I have a text box in the parent window.. now i want to populate this text box with a user_id that i will get from query within a popup window.. How do i get the value from the popup window to be passed to the main window form field in php. I know how it can be done in javascript but when i tried combining javascript and php i dont get the desired result.
View Replies !
Can A Popup Window Return Data To Parent Window?
Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user can search for something. The user can then select what they want, and the popup window closes and the main form (which is still open) shows the search results.
View Replies !
How To Popup A New Window
hy guys..need some help here..how to popup a new window..i've been searching for the answer for many times..i want to popup the details via id. ere's my code: PHP Code: while ($row=mysql_fetch_array($sql)){$id=$row["id"];echo <TD><div align='center'><a href="javascript:winpopup();">Details</a></div></TD></TR>"; .
View Replies !
Popup Window And Sessions
I encounter some troubles using $_SESSION, since I use a popup window in my php code. I mean, $_SESSION['id'] contains a certain value, when I click to get popup window opened, $_SESSION['id'] value has changed, without being reaffected explicitly...
View Replies !
Popup Window + Picture From DB
I have a link that says: CLICK HERE TO ENLARGE... if you click it, it will take you to another page in the same browser window... i dont want to use _blank beacuse i need a browser window with a 640 pixels width and 480 pixels height... Code:
View Replies !
Creating A Popup Window
I am trying to make the website button on my phpbb forum open the posters webpage in a popup window. However, my knowledge of php is limited and it is returning the error below. As a normal link it works perfectly. It is once the code from 'onclick=' all the way to 'return false;' that it returns an error. Can anybody tell me what is wrong with my code? Code:
View Replies !
Popup Window From Button
I want the action from a button to open up another page when clicked, instead of opening up viewquestions in a small 630,330 popup window. getinfo.php is the popup with 630,330 It contains the code below that sends me to viewquestion. $template -> assign_block_vars('user.info', array('C_INFO' => '<input type="hidden" name="action" value="viewquestions"><input type="submit" value="View">', 'C_INPUT' => '')); currently viewquestion opens up as 630,330 as well, which is too small. I would rather it open up at 800 600 at least. Trying to find a way to change the behavior so when the button is clicked it opens up viewquestions with a larger screen.
View Replies !
Create Popup Window
i want to send a mail to my user.so in that mail he get some link and when he click the link it should open a small window and display some information.how to do this using php/javascript.i know how to send mail but i dont know how to use javascript in php mail to open a pop window.
View Replies !
Image Popup Window
I am trying to make an image popup window using php and java. I have thumbnail that I want to link to a larger picture and when you click on the thumbnail the bigger picture pops up in a window and below the picture there is a link that says "close window" Here is what i have so far. I have a page lets just call it pic.php here is the code i have for the link for the thumbnail. <a href="javascript:window.open('window.php?id=1')"><img src="images2/cat2/thumbs/cat_small1.jpg" width="120" height="90"></a> then I made a file called window.php and here is the code in it Code:
View Replies !
Killed Popup Window
If the browser installs popup killer, sometimes necessary popup window will be killed too, some websites can detect this and ask the user to click again by pressing ctrl key. But how could we implement it in PHP.
View Replies !
Close Popup Window
When a user enter something into a popup window I created, after I process the input, I want my code to automatically close that popup window after it's done. For example, I pop up a window for a user to enter his name, after he enter his name in my pop up window form, and hit submit, the name is inserted into my database, then I want to close that pop up window after the data is inserted into database.
View Replies !
Sending Data To Popup Window
I have a table and when i do click in one of its parameters i open a popup window and obtain some data. It works ok when the parameter i do the link are just numbers(ex: 12345) but if i have other simbols on it doesn't work, for example: if i have 12345-1 instead of sending to the popup 12345-1 it sends 12344.
View Replies !
Javascript Popup Alert Window On Die
How would I integrate a javascript alert window with an alert message on die? I want the code that's on the page to remain and have the alert box appear with a message I choose. It seems that on die I can get a message but it kills the code below. Want everything on the page to remain stable, but just have the alert window popup on error. Code:
View Replies !
Queries Opened In Popup Window
trying to get my queries opened in popup window with certain size, no scroll and no address bar. Here is my link that right now opens in a _blank target < a href="video_pop.php?GenderID=**<?php echo $row_rs_Gender['GenderID']; ?> " target="_blank"class ="centerTa*ble"> <img src="<?php echo $row_rs_Gender['Pic1']; ?>" border="0"></a> .
View Replies !
Pass Variable To Popup Window
i need some help with pass some variables from one file to another file Look this link As u can see, when u click in some user, this open another window (popup window) supposedly the variable would have to write in the other page, but it does not do it, if they watch the bar of directions, appears what would have to appear form in the other page. Code:
View Replies !
How I Can Have The Username Displayed On This Popup Window.
i have a form that has a username field, a password and a confirm password field. When the submit button is pressed it adds that info to a database and opens a popup window with the onsubmit attribute in the form tag (the main window from before now goes back to the page to have a new user/password combo entered for another account). I need to know how i can have the username displayed on this popup window.
View Replies !
Passing Values From A Popup Window
I am building a script that allows creation of a user, so i have the normal fields such as; name, email, phone. However I also want to have a button to open a popup window and allow the selection of one or more form values and submittion of that form. without loosing the data I just entered reload the parent form adding a list of the values selected previously. This would then be stored in hidden fields and added to the database after.
View Replies !
Problem In Opening Popup Window
I am facing a little problem. I have an image. I get its dimensions by using php method "getimagesize()". It returns me the image height and image width. Now i open a popup window, according to this height and width. But the popup window will not open exactly at this size. Here is my code: $img_size = getimagesize("images/kitoptions/large/".$lar_img.""); $h = $img_size[0];$w = $img_size[1]; <a href="#" onClick="window.open('viewkit_large_image.php?val=<?=$lar_img?> ','Popup','left=120,top=75,width=<?=$w?>,height=<?=$h?>,scrollbars=yes')"> suppose $h = 550 and $w = 400 so according to my code, the popup window opened, must be off this size. but this not happens.
View Replies !
Adding Content From DB Into A Popup Window
Right now I have an index.php file that queries the DB, which then uses a tpl file to display the content. The script works in categories, it then goes into sub categories. I've already created a cell to assign which categories I would want to be opened in a popup, with a form and TINYINT in SQL. That works fine. However, I wanted the information that would be displayed within that category, to display in the popup. How would I pass the information from that category into a new popup without the current template of my index file?
View Replies !
Displaying APC_UPLOAD_PROGRESS In Popup Window
I am attempting to create a file upload status indicator via a popup box(possibly a iframe if I can get it working right) and minimal javascript. I am hoping someone can offer some advice as to why it is not working. I am using APC_UPLOAD_PROGRESS (yes, APC is installed and working) in the form and I am sending the id to the popup window but the popup will not show the status of the upload. apc_fetch returns nothing. I can however see the status in the main window once the file upload is complete in the main page. Is it possible to see apc_fetch in another window? Code:
View Replies !
Passing Vars - Popup Window Problem
I currently have a problem passing a variable value from one page to another. Once a form submit button is pressed java pops up a window and displays some information. The problem being is variables value needs to be passed from the main page to this popup window ... but it isn't. why? the submit button one the PHP page is $s_download_action = "index.$phpEx?page=downloads"; $download_url = "download.$phpEx"; $hidden_download_vars = '<input type="hidden" name="download_id" value="' . $d_id . '" />' $u_download = "<input type="submit" name="get_download" value="" . $lang['Download'] . "" class="mainoption" onClick="window.open('" . $download_url . "', '_spdownload', 'HEIGHT=250,resizable=yes,WIDTH= 400');return false;" />"; echo '<form action="' . $s_download_action . '" method="post">' echo $hidden_download_vars . '' . $u_download; echo '</form>'
View Replies !
How Do You Parse Post Variables To A Popup Window?
I know this isnt really a php question but can anyone tell me how you parse post variables to a popup window, here's my code so far, im trying to pass the value entered into a radio button: <head> <script language="JavaScript" type="text/JavaScript"> var win= null; function NewWindow(mypage,myname,w,h,scroll) { var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; var settings ='height='+h+',' settings +='width='+w+',' settings +='top='+wint+',' settings +='left='+winl+',' settings +='scrollbars='+scroll+',' settings +='resizable=yes' win=window.open(mypage,myname,settings); if(parseInt(navigator.appVersion) >= 4){win.window.focus();} } <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> </head> <body> <form name="answer" action="result.php" method="post"> <input type="radio" name="group1" value="Milk"> Milk<br> <input type="radio" name="group1" value="Butter"> Butter<br> <input type="radio" name="group1" value="Cheese"> Cheese<br> <input type="submit" name="submit" value="submit" src="result.php" onClick="NewWindow(this.src,'name',âÆ',âÆ','yes');retur n false" > </form> </body>
View Replies !
Sessions - Popup Authentication Window Comes Up Everytime.
I start a session and then request user authentication from the web browser. I am storing the username in the cookie and using it across multiple pages. Currently, when I logout it kills the session but when I want to log back in, I don't get the popup window because it just uses what I had typed before. I would like to make it so the popup authentication window comes up everytime. Here is my logout code: PHP Code:
View Replies !
Create Popup Window With Product Details
I am attempting to create a popup window using the code that's shown here http://forums.devshed.com/t15928/s.html I want it to display the product information when a user clicks a link from a table. But, I havent got a clue about where to start. I am displaying an alternate color table from what i assume is a recordset. please excuse my ignorance if this is straight forward as i only just started to attempt anything like this in the last week. PHP Code:
View Replies !
Popup Window List Of Values To Select
What i need to do is bring up a popup window with a list of values(values looked up from the database). The user should be able to select one of the values from the list and the value then populate a text box on the calling form.
View Replies !
Popup Window Show When Php Form Is Validated.
I am using a HTML/PHP form on a website I am doing. The form works and it even redirects to the correct page. However, instead of redirecting to a new page I would like it to call a popup window (600px x 400px)but leave the page that the form is on open so when they close the popup window the page is still there.
View Replies !
I Have A Form That Needs To Open A New Window - How To Get Around Popup Blockers?
I've put together this Inbound Link Search Form but I'm having some problems getting the results popup to work without getting blocked. Right now I have the <form action="index.php" (itself) and I'm using a variable-laden window.open js snippet to popup the results window but every major browser blocks this popup by default. I tried using target="_blank" but this doesn't work because the variables are not populated until index.php reloads itself, right? What is the most straightforward way to get this around popup blockers? It is important that the form stay open and the selections are remembered so I don't loose my place when using it to search.
View Replies !
Session Variables Disappear When Popup Window Closes
I am in window one (of one) and I popup a second window. Everything is fine. When the popup window closes the entire session in window one is destroyed!! I have tried everything from named sessions to caches, etc.. This does not happen when i start out with two windows open??
View Replies !
Passing Checkbox Array Value To Popup Window Problem
I've got my checkbox, which show up at every product result: <input type="checkbox" name="rsid[]" value="<?=$row4['ID'];?>" /> The important lines of my form: <form name="printen" onsubmit="return false;" action=""> <INPUT type="image" name="but_vergelijk" src="images/rs_compare_btntop.gif" border="0" onclick="popItUp();"> The javascript part: Code:
View Replies !
Open Popup Window When Page Is Loaded If A Field Is Populated
Would it be possible to open a popup window on loading the instruction page but only when the critical information section of the page contains text? The popup window could either contain the contents of the critical information section or just a visual warning that such information exists on the main page. I have a pretty good knowledge of VBA but sadly my knowledge of php and javascript is very limited.
View Replies !
Form In Popup Window. On Submit Post To Original Page
Hey i have a page with contains a text field called customer id. the thing is if the user doesnt know this id the they can perform a custome id lookup. to do this the user clicks a button which opens a popup window using javascript, this ne window contains the form containg 2 text fields. when the user clicks the submit button i want the 2 values that where entered to be passed to the original window and the result displayed in the text box (customer id). the thing is when i click submit the page is loaded in the popup window. does any one have any help thanks alot. here is the code for each object. Code:
View Replies !
Only Allowing Popup To Popup Once
I use an OnLoad event in the body tag to open a popup window. I would like to know how to go about only allowing the window to popup once i.e on subsequent visits to the parent page, the popup np longer pops up. I think it is irritating to users to have to close the popup everytime they visit the page. I think I need to set a cookie so that the server knows the visitor is a return visitor and not a new visitor, but I have no idea how to write the code. I do know a little php so I could combine php and javascript if that is the best way to achieve my goal.
View Replies !
Reload Existing Window From Another Window
I have logg in page, after clicking loggin the pop up window apiears and if user loggins it closes, I want to reload if loggin succes ( I have handling sistem for it) ,page were user have clicked to logg in, how do I do it? is it possible to do it with php?
View Replies !
PHP Popup
I have a site thats full based on PHP... its Zen-Cart.com Zencart Shopping cart... Im tring to add a popup script in the but I have to use this script since i don't know anything else... but it doesn't work because its using ' and not ", can anyone help me with this... Code:
View Replies !
Popup
I want to create a popup file, or a new window using _blank. What is the best way to do this? PHP or java? I would like scrollbars, but not for it to be resizable, and i would like it central to the users screen.
View Replies !
Alert Popup Box
I can't find a way to create an alert popup box for debugging, is this possible in php? I guess I'm thinking of visual basic where that was so easy, in php I normally use *print* for this but it can be hard to find.
View Replies !
Using Variable In Popup
I have a website with a login and a postgres database. Users login with their password and continues to their personal page. From here they can watch all their trafic in and out of the database in two seperate queries. Now I need to be able to make a popup with a data-field from the query. for an example Table X: Date | clock | length | sender | receiver | other But the record contains more data like - senders adress, phone number etc. So under the 'other'-row, which are shown to the users, I have included a small icon with a popup. Now I want to show some of the data from the parent query in this popup. can this be done (yes it can - I know ;-) ) How do I do it? something like this in parent: print "<td><a href="popup.php" onClick=return popup("?????") <img border="0" src="bleh.gif">></A> And what should i do with my variables that I want to send on to the popup. Variables from the database is shown like this: print "<td> . $row["Date"]; print "<td> . $row["Clock"]; print "<td> . $row["Sender"]; print "<td> . $row["Receiver"];
View Replies !
An Alternative Popup...
I'm looking at a different means of creating a popup to calling js. I'd like to use the standard <a href... target="_new"> syntax, so that I can dynamically control the content of the popup using php. However, I'd like to control the way it looks as you can with a javascript popup - no buttons, etc. I'm trying to do this by calling a js function at body onload=..., and have had some success - 've resized it, and moved it away from the top left corner of the screen. However, I am not a js programmer, and am having limited success using js 101 sites and google. So far, I've got <script language='javascript'> var arrTemp=self.location.href.split("?"); var picUrl = (arrTemp.length>0)?arrTemp[1]:""; var NS = (navigator.appName=="Netscape")?true:false; function FitPic() { self.blur(); iWidth = (NS)?window.innerWidth:document.body.clientWidth; iHeight = (NS)?window.innerHeight:document.body.clientHeight ; iWidth = " . $_GET["Width"] . " - iWidth + 250; iHeight = " . $_GET["Height"] . " - iHeight + 20; self.resizeBy(iWidth, iHeight); self.moveTo (200, 200); self.focus(); }; </script>
View Replies !
Popup Calender
In php how to popup Calender and on click date ,month and year its value store in textfield and those value store in database.
View Replies !
Message Popup In PHP
is there a function in PHP to get a message popup on the web page? Couldn't find any (or missed it) in the docs; so I am now putting "echo <script> alert(whatever)</script>" whic feels really strange... there go to be a better solution...
View Replies !
Popup Page
I would like to have a popup page. In case of errors, I would like to have a separate page (of small size) pop up with the error message. How can I make this happen?
View Replies !
Popup Message
I have a php page called sms.php which displays checkbox value retrieved from the previous page. Here is the code: <? foreach($_POST['check'] as $value) { $check_msg=$value; echo "Message sent to username<br>"; echo " $check_msg <br>"; } <? I want to display these checkbox value in a popup message after i press a submit button <input type="submit" name="submit" value="submit">.
View Replies !
|