Hello. This is a part of my script: <table id="table-5"> <thead> <th>ID</th> <th>URL</th> <th>Editor</th> <td>More....</td> </thead> <tbody> <?php include('connection.php'); try { $sql = "SELECT * FROM Data ORDER BY ID DESC"; $result = $conn->query($sql); foreach($result as $key => $row) { echo "<tr>"; echo "<td>" . $row['ID'] . "</td>"; echo "<td>" . $row['URL'] . "</td>"; echo "<td>" . $row['Editor'] . "</td>"; echo "<td><a id='more' href='http://www.niloofar3D.ir' onClick='return popup(this, 'mypopup')'><button>&raquo;</button></a></td>"; echo "</tr>"; } } catch(PDOException $e) { echo "Query error:".$sql . "<br>" . $e->getMessage(); } $conn = null; ?> </tbody> </table> Line 22 is a button that is popup. But as I have …

Member Avatar
Member Avatar
+0 forum 3

Hi I collected the code from internet. i am trying to use dependent dropdown in the popup screen. i can able to display first dropdown in a popup but i am unable to display the second dropdown. can any please help me to fix that issue. **test.php** <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.8.3.js" type="text/javascript"></script> <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js" type="text/javascript"></script> <?php include('conn.php'); $sid = $_GET['sid']; ?> <script type="text/javascript"> $(function () { var new_dialog = function (type, row) { var dlg = $("#dialog-form").clone(); var fname = dlg.find(("#first-name")), lname = dlg.find(("#last-name")), email = dlg.find(("#email")), password = dlg.find(("#password")); type = type || 'Create'; var config = …

Member Avatar
Member Avatar
+0 forum 3

Hello everyone, I am attempting to make a custom control similar to a tooltip however I am not sure exactly how to produce the effect I desire. My goal is to have a popup, which is shown when the mouse hovers over a control, that contains some message and is shown at the top center of the hovered control with a triangle "pointer" overlapping onto the control (See illustration). ![e42e24cd2b1615ad81ffe8932e7d2467](/attachments/small/4/e42e24cd2b1615ad81ffe8932e7d2467.png "align-left") I would like the popup to automatically be sized to the text contained within padded by a few pixels; I know this is possible using the `Graphics.MeasureString()` function. I …

Member Avatar
Member Avatar
+0 forum 2

Working with version 11.0.9600.17041 Have a persistent popup that shows URL http://axp.zedo.com/asw/pfr/305/1940403/2/o.html? How does one block this specific popup?

Member Avatar
+0 forum 0

Hello, how to programatically close outlook model pop up in vb6.0? Thanks

Member Avatar
Member Avatar
+0 forum 1

Good afternoon. I am developing a gmail app for my personal consumption for now and it has a lot of bells and whistles including showing me the latest emails coming in, playing a sound and changing icon when there is new mail and a few other things. I am using the webbrowser control and reading the source etc from within the control and since my default browser is not IE, of course, I am trying to divert the URLs in the emails to open in my default browser which works fine, except everytime I click a link it pops up …

Member Avatar
Member Avatar
+0 forum 13

#include <iostream> #include <cstdlib> using namespace std; // function prototype for add int add (int x, int y); int sub (int q, int r); int mul (int s, int t); int divi (int u, int v); int main () { int a,b; char ch; loop:cout<<"ENTER CHOICE OF OPERATION: + - OR * / and q to quit"; cout<<'\n'; cin>>ch; int result; if(ch!='+'&&ch!='-'&&ch!='*'&&ch!='/'&&ch!='q') { cout<<"wrong input"; } else { if(ch=='+') { result = add( a, b ); } else if(ch=='-') { result=sub(a,b); } else if(ch=='*') { result=mul(a,b); } else if(ch=='/') { result=divi(a,b); } else if(ch=='q') { exit(0); } cout<<"enter 1st number"; …

Member Avatar
Member Avatar
+0 forum 2

First let me define what I mean by action box. Input box waiting for data, link waiting for click etc. Also I am assuming that the page is NOT using mouse over ( BAD assumption, so feel free to suggest something else) Why I need this ? you might ask There are a lot of pages that need an expert to understand, but you need to get some properties so you can automate things programatically. A very common case; logging with password. You need to know the "input" name that you will use to set, so it is automatically filled …

Member Avatar
+0 forum 0

I created a script which shows result on a new window popup window.open('http://google.com','_blank','2','width='+screen.width+',height=50,left=0,top=0,toolbar=0,location=0,menubar=0'); window.open('http://yahoo.com', '_blank','3','width='+screen.width+',height=50,left=0,top=200'); First popup open easily but others are blocked in browser, i want to disable popup blocker when my domain load or when unblock popup when my domain loads. I am creating a script like farecompare and kayak and they also shows result in popup windows. I have created everything but popup blocker in browsers destroying everything. Is there a way to disable popup blocker in browser without manually doing?

Member Avatar
Member Avatar
-1 forum 7

Hey Guys I m trying to open a php page (that retrieve data from database according to the form fields) on button click in a modern type popup window like fancybox, lightbox iframes etc...you can check the link (www.goodmoves.in/)..currently it is opening a normal old fashion popup window. . . can someone help me.....????

Member Avatar
Member Avatar
+0 forum 2

So I'm using a lightbox JS program and I'm trying to alter the CSS to fix an issue. The lightbox opens in the middle of the page, no matter what. I'm trying to get it to open over where the link was clicked instead of the middle of the page for every image. I'm much better versed in Js than CSS, so any help would be appreciated. Here is the full code, but I think the only 2 things of importance are mbCenter and mbMedia #mbOverlay { position: fixed; z-index: 9998; top: 0; left: 0; width: 100%; height: 150%; background-color: …

Member Avatar
Member Avatar
+0 forum 2

I want to show movie trailer by click on movie button. i have done this by using colorbox. i had include .js and .css file in my template.php file. and i prepare following code for this. but i can't able to do this. plz anyone guide me. how can i show trailer in my website? i had store trailer path in my database for partcular movies. My code is as: trailer.php <? require_once("template.php"); function main() { ?> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td> <?php $sql = "select * from movie"; $result = mysql_query($sql); ?> <table> <tr> <?php $i = 0; …

Member Avatar
Member Avatar
+0 forum 13

I want to create a form in web app where users can enter there name and emailid and dropdown list(whether it is from management, student or guest). For some of the preferences, I would like to open a dialog containing a drop down menu allowing user to pick an option and have it saved through ajax. Is it possible with javascript ? it is something like login page of this forum when we click on the member login if gives a prompt and we enter our userid and password

Member Avatar
Member Avatar
+0 forum 2

OK here is the 1 million dollar question for super gurus only.A few months ago I had the stupid idea of installing Performersoft LLC,because my pc performance was not too good, so I thought that maybe I needed some update like drivers etc.When I realized I didn't need it, I uninstalled the software. After that every time I start the pc, I have to wait quite a long time until this blinking icon appears on my taskbar asking me if I want to install the software.I realized that something must have gone wrong during the removal so I figured to …

Member Avatar
Member Avatar
+0 forum 2

hi, i need to .show a window to enter the date of a record when it was recalled i have the following so far but its jumping the frmRecallDate.show line. Any help is appreciated Private Sub cmdRecall_Click() On eror GoTo ErrMsg: With rsRecalls If .State = 1 Then .Close .Open "Recalls", CNDoub, adOpenDynamic, adLockOptimistic .AddNew !datez = txtdatez.Text !CONTACT = CboCont.Text !Mode = Text2.Text !Namess = Text1.Text !Agent = Text3.Text !Ksh = Text4.Text !Usdollars = Text5.Text !Confirmationcode = Text6.Text **If Text6.Text = Recall Then frmRecallDate.Show End If** .Update .Close End With With rsPayments .Open mSQL, CNNDouble, adOpenDynamic, adLockOptimistic !Confirmationcode = …

Member Avatar
Member Avatar
+0 forum 4

`** login form Hello Guys, am actually working on a website... I want a login on the top left corner...login..then when the user click on this ..a modal form would appear asking them for their user-name & password.. I have a already do the login form controller ?php function index() { $data['main_content'] ='login_form'; $this->load->view('includes/template', $data); } function validate_credentials() { $this->load->model('Employee_model'); $query = $this->Employee_model->validate(); if($query) // if the user's credentials validated... { $data = array( 'username' => $this->input->post('Username'), 'is_logged_in' => true ); $this->session->set_userdata($data); redirect('site/members_area'); } else // incorrect username or password { $this->index(); } } function logout() { $this->session->sess_destroy(); $this->index(); } …

Member Avatar
Member Avatar
+0 forum 2

Hi everyone, I wonder if you could help me since a couple of days ago i tried downloading a program and all it has gave me since is a pop up survey that wont go way ive tried clicking the 'x' but it will not shift it wont let me load taskmanager or command prompt and other windows programs and has also made my whole taskbar disapear i currently have Norton and have scanned since this has happened and it hasn't found any virus it is frustrating as it is right in the middle of my screen and with me …

Member Avatar
Member Avatar
+0 forum 5

Here are my code: <tr> <td><input name="clubId" type="text" class="input1" style="width:200px;" > <a href="javascript:isExistClubId();"><img src="/club/images/main/C_btn_check.gif" border="0" align="absmiddle" alt=""></a> </td> </tr> function isExistClubId() { if(strLen(document.makeClub.clubId.value) > 20) { alert("Silahkan masukkan nama Klub hingga 40 karakter"); document.makeClub.clubId.focus(); } else if (!IsAlphaNumeric(document.makeClub.clubId.value)) { alert("Silahkan masukkan nama Klub dengan angka dan huruf."); document.makeClub.clubId.value = ""; document.makeClub.clubId.focus(); } else { var w = document.body.clientWidth, h = document.body.clientHeight; var popW = 350, popH = 200; var leftPos = (w - popW) / 2, topPos = (h - popH) / 2; window.open('/club/club/isExistClubId.vw?clubId='+document.makeClub.clubId.value,'subdomain','width=' + popW + ',height=' + popH + ',top=' + topPos + ', left=' + leftPos); } …

Member Avatar
Member Avatar
+0 forum 1

Hi, a month ago I installed Performersoft to check my drivers since I had audio problems. My microphone was not working right and I needed it to use with Skype.Since it didn't fix the problem ( I found out that there is something loose in my audio input)I uninstalled it. The problem is that every time I start my pc I have to wait for this popup from Performersoft to appear and decline and cannot access the Internet until I do that.I even tried to reinstall the software and then uninstall it again but didn't do it.Can anybody tell me …

Member Avatar
Member Avatar
+0 forum 7

Hey guys, below is my code, I am working on trying to PASS Variables to a popup window. I have it to where it show the embed window(which is blank) link, the title(which is blank) and instuctions(which is blank), but I cannot get it to pass the variables of what I want to the popup window. I will also append the popup window for you. Thanks everyone for your help. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Exercise Video Library</title> <link href="twoColHybLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE]> <style type="text/css"> /* place css …

Member Avatar
Member Avatar
+0 forum 13

Hi, Im not sure why this code is not working on IE browsers but on chrome its working well. This code is for a Popup, that will ask the users if stay or leave page once they try to refresh or go to other webpage. (you can test www.thesuperheroblueprint.com).. and what ever they choose, the should be redirected on a particular page. <script type="text/javascript"> // Popup window code function newPopup(url) { popupWindow = window.open( url,'popUpWindow','height=500,width=600,left=10,top=10,resizable=no,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no') } </script> </div> <!---Exit Pop--> <script language="javascript"> (function() { setTimeout(function() { var __redirect_to = 'http://thesuperheroblueprint.com/exit.html';// var _tags = ['button', 'input', 'a'], _els, _i, _i2; for(_i …

Member Avatar
Member Avatar
+0 forum 2

trying to make this script work: <script type="text/javascript"> var tmp='<html><head><title>popup</title>'; tmp+='<script type=text/javascript>'; tmp+='function nowTime(){'; tmp+='var oNowTime=new Date();'; tmp+='var iMonth=oNowTime.getMonth();'; tmp+='var iDate=oNowTime.getDate();'; tmp+='var iYear=oNowTime.getFullYear();'; tmp+='var iHours=oNowTime.getHours();'; tmp+='var iMinutes=oNowTime.getMinutes();'; tmp+='var iSeconds=oNowTime.getSeconds();'; tmp+='var iMilliSeconds=oNowTime.getMilliseconds();'; tmp+='var sNowTime=iHours+":"+iMinutes+":"+iSeconds;'; tmp+='return sNowTime'; tmp+='}'; tmp+='function nowDate(){'; tmp+='var oNowTime=new Date() '; tmp+='var iMonth=oNowTime.getMonth()+1'; tmp+='var iDate=oNowTime.getDate()'; tmp+='var iYear=oNowTime.getFullYear()'; tmp+='var iHours=oNowTime.getHours()'; tmp+='var iMinutes=oNowTime.getMinutes()'; tmp+='var iSeconds=oNowTime.getSeconds()'; tmp+='var iMilliSeconds=oNowTime.getMilliseconds()'; tmp+='var sNowTime=iYear+"-"+iMonth+"-"+iDate;'; tmp+='return sNowTime'; tmp+='}'; tmp+='function showNowTime(){'; tmp+='var oObjId1=document.getElementById("mdate");'; tmp+='oObjId1.innerHTML=nowDate();'; tmp+='var oObjId2=document.getElementById("mclock");'; tmp+='oObjId2.innerHTML=nowTime();'; tmp+='setTimeout("showNowTime()",1000)'; tmp+='}'; tmp+='<\/script></head><body onload="showNowTime()">'; tmp+='<font size="7">'; tmp+='<div id="mdate">mdate</div>'; tmp+='<div id="mclock">mclock</div>'; tmp+='</font></body></html>'; var newwindow2=window.open('','name','height=200,width=150'); newwindow2.document.write(tmp); </script> What's Wrong ?? any suggestions are welcomed. thanks

Member Avatar
Member Avatar
+0 forum 5

Hi everyone, I have 3 forms: main, AdvancedSearchMenu, and FacilitySearch. When the user clicks the AdvancedSearchMenu button on the main form, a new form appears in the style of a popup. This form contains a few different controls, including a button for FacilitySearch. I want the form to change from AdvancedSearchMenu to FacilitySearch when the user clicks the FacilitySearch button, but I don't know how to set focus to this FacilitySearch form when the switch happens. Here is my code: Public Class advSearchMenu Private Sub FacilityButton_Click(sender As System.Object, e As System.EventArgs) Handles FacilityButton.Click Me.Visible = False FacilityAdvSearch.Show() End Sub End …

Member Avatar
Member Avatar
+0 forum 1

Hi Guys , i started experimenting a little bit with javascript . I want a javascript dialog that ask user to delete a file.Buttons should be yes or no.The javascript should load as soon as page load **No button is used**. Can you please post a sample code for it You can use a simple hello world html page For example when page load a javascript popup appears and ask user whether to search.If user clicks yes , then google(dot)com opens , nothing is done Please try to implement it with php as for my application , if user click …

Member Avatar
Member Avatar
+0 forum 5

when new row inserting into mysql, then i want to dislplay some popup notification for few seconds in some page. so pls help me anyone ? thanx in advance :)

Member Avatar
Member Avatar
+0 forum 3

Hello, I was wondering how to make the windows explorer popups that many programs use. I want the one that browses files to either open or save a file rather than requiring the user to blindly type the filename.

Member Avatar
Member Avatar
+0 forum 1

I have a form with a dropdown list that when they click on it or when they mouseover it (either would be ok) it should show a popup tooltip. My javascript skills are at best very very basic. This is a wordpress site and I am reluctant to add jquery to the mix so just a pure javascript solution would be great. I tried just putting a text label but that didn't work. I tried the following simple javascript: <script> function popMssg(message) { alert(message); } </script> and used <option value='Board of Directors' onclick=popMssg('The Board of Directors sets overall policy for …

Member Avatar
Member Avatar
+0 forum 1

Need an Hello world example of how to add an item in the context/pop-up menu in eclipse plugin development. (menu should pop-up when we right-click anywhere in the workspace).

Member Avatar
Member Avatar
+0 forum 6

Hi Please could you assist I have made a validaion. But when the correct field is not entered properly. Validation works but the javascript pop does show please see code below. <CFIF email IS (find("@",address)) neq 1> <CFLOCATION URL="error.cfm?PassedError=Please%20Supply us email address."> <CFABORT> <script type="text/javascript"> alert('Please Check Your Email'); </script> Please help Thanks

Member Avatar
Member Avatar
+0 forum 3

Hello everyone! :) Could you please help me? I am still a noob and I'm having a hard time about displaying selected values from mysql database into popup window? This is my code where user can see the table of the electoral officials: -----CUT----- <div id="page"> <div id="blanket" style="display:none;"></div> <div id="popUpDiv" style="display:none;"> <a href="#" name="bio" onclick="popup('popUpDiv')">Close</a> </div> <?php include('voting_connect.php'); { $result = mysql_query("SELECT * FROM candidates WHERE c_position='Secretary'") or die(mysql_error()); echo "<center><table id='tables' class='sortable'>"; echo "<tr><th>Secretary:</th></tr>"; while($row = mysql_fetch_array( $result )) { echo "<tr>"; $row['c_ID']; echo '<td>' . $row['c_fname'] . ' ' . $row['c_lname'] .'</td>'; echo '<td><a href="cand.php?ID=' . $row['c_ID'] …

Member Avatar
Member Avatar
+0 forum 1

The End.