I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/)

Member Avatar
Member Avatar
+0 forum 2

Hello. I'm working on my own CMS. I want to use Bootbox.js which is a small JavaScript library which allows us to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers. [And this is the website](http://bootboxjs.com/) I have downloaded installed it with via npm, by this command: npm install bootbox But i don't know what to do after that... why when i copy and paste example codes from the website, it doesn't work? I searched the net but couldn't find the answer. Has …

Member Avatar
Member Avatar
+0 forum 14

this is my modal button this is within the table that why i use echo $rows['id'] <a data-id="<?php echo $rows['id']; ?>" type="button" class="btn btn-success btn-lg btn-block" data-toggle="modal" data-target="#myModal">View Order</a> this is my modal body <?php include('../conn.php'); $id=$_GET['id']; $list_query=mysql_query("select * from db where id='$id'"); $rows=mysql_fetch_array($list_query); ?> <form class="form-horizontal orderitem" role="form"> <div class="form-group"> <label for="inputFullName" class="col-sm-2 control-label">Full Name</label> <div class="col-sm-10"> <input type="text" class="form-control" name="fullname" value="<?php echo $rows['id']; ?>"> </div> </div> </div> </form>

Member Avatar
Member Avatar
+0 forum 5

I'm trying to pass the ac_no contained in my database table to a form that's displayed within a Bootstrap Modal upon clicking a button. My code is as follows. <?php $mydata = mysql_query("SELECT * FROM slabpay WHERE ac_no='$ac_no'"); while($record = mysql_fetch_array($mydata)) { $id=$record['id']; ?> <tr class='fired' id='<?php echo $record['id']; ?>'> <td class="center"><?php echo $record['install_no'] ?></td> <td class="center"><?php echo $record['install_amt'] ?></td> <td class="center"><?php echo $record['install_date'] ?></td> <td class="center"><?php echo $record['agent_name'] ?></td> <td id="fired" class="center"> <?php if($record['install_amt']=='000000') { ?> <button class="btn btn-info" data-toggle="modal" data-target="#payAmt" data-id="<?php echo $row['ac_no']; ?>"> <i class="halflings-icon white edit"></i> </button> <?php } ?> </td> </tr> <?php } ?> // …

Member Avatar
Member Avatar
+0 forum 2

Hello, I'm trying to display the google map in a bootstrap modal. But only a part of the map is visible not the complete map. here's my modal code, followed by the javascript for the map <div id="geo_modal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title modal-primary">Sign-in</h4> </div> <div id="map" class="modal-body"> </div> </div> </div> </div> the javascript function initialize() { var mapOptions = { center: new google.maps.LatLng(-34.397, 150.644), zoom: 8 }; var map = new google.maps.Map(document.getElementById('map'), mapOptions); var drawingManager = new google.maps.drawing.DrawingManager({ drawingMode: google.maps.drawing.OverlayType.MARKER, drawingControl: true, drawingControlOptions: { position: google.maps.ControlPosition.TOP_CENTER, drawingModes: [ google.maps.drawing.OverlayType.MARKER, …

Member Avatar
Member Avatar
+0 forum 3

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

Member Avatar
Member Avatar
+0 forum 1

Hi. So I was trying out bootstrap, and I wanted to make a photo gallery. The thing is , my modals work fine but it doesnt seem to fade and its supposed to "pop up" while making the rest of the webpage its background. Im using the images on the gallery as my trigger. I'll attach everything here. thank you.

Member Avatar
Member Avatar
+0 forum 2

A modal dialog is a window that you must respond to. The MessageBox for example is such a window. It is a handy tool for displaying a warning or other kind of message to the user. But, you can configure it only in a limited way. Xcelled194 did a good job on setting up a VB style inputbox, [url]http://www.daniweb.com/software-development/csharp/code/361925[/url] So I propose here a way to simulate a MessageBox an InputForm an AboutBox or whatever, where you are in total control on how it looks and behaves. Many users over here like to change the behaviour of a MessageBox, well, …

Member Avatar
Member Avatar
+3 forum 1

Hello everyone! Just as the title suggests, i would like to know if it's possible to set the position of a dialog box. The default behaviour, is to appear in the center of the screen I use it this way : public static int confirmationBox(String infoMessage, String location) { int response = JOptionPane.showConfirmDialog(null, infoMessage, "Confirmation : " + location, JOptionPane.INFORMATION_MESSAGE); return response; } Thanks in advance!

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 all, I want to create a login page modal window. Steps are as follows : 1. There will be a login icon(small image). 2. On clicking the icon , a modal window will open having three options (i) Distributor login (ii)Client login. (iii) Employee login .If Distributor login is clicked the modal window will be changed as login user, password with message "Distributor login" . The same will happen to Client and Employee login . After login the will be redirected to a page say php or cfm page. Thanks in advance Subrata

Member Avatar
Member Avatar
+0 forum 2

I have a jQuery slideshow that works perfectly outside of a modal window. Once the slideshow is loaded inside of the modal window it stops working. I am stuck and have no idea what to do.

Member Avatar
Member Avatar
+0 forum 2

Hi, For some time I'm using window.createPopup(), recently I noticed that It cannot be used in modal dialogs that are opened in IE8 protected mode, So I was wondering is there still some way to make window.createPopup() work in the above situation, Thanks ahead, Daniel.

Member Avatar
Member Avatar
+0 forum 2

I have a class that stores all of my variables and functions (for our purposes, DataClass), and a few different windows form classes that use the public variables and functions in DataClass. I need to keep the values of the public variables in DataClass until the program closes. I set the values of public member variables of DataClass in form1 class: [code] DataClass data; data.m_sComPort = "COM1"; data.m_sBaudRate = "19200"; [/code] Then I close form1 to open form2 (Next button): [code] OnCancel(); form2 frm2dlg; frm2dlg.DoModal(); [/code] form2 opens, and the values of the variables in DataClass that I just set …

Member Avatar
Member Avatar
+0 forum 1

hi everyone. i`ve been digging with jquery UI modal form. here is the link [url]http://jqueryui.com/demos/dialog/#modal-form[/url] i want to connect the jquery to my localhost,i mean when user create an account, it will be saved in my database.i`m facing some problems in it.. here`s my code.. [CODE] <div id="tabs-1"> <style> body { font-size: 62.5%; } label, input { display:block; } input.text { margin-bottom:12px; width:95%; padding: .4em; } fieldset { padding:0; border:0; margin-top:25px; } h1 { font-size: 1.2em; margin: .6em 0; } div#users-contain { width: 350px; margin: 20px 0; } div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; } div#users-contain …

Member Avatar
+0 forum 0

Hello, I am trying to insert an html document into a modal window based on the results of a database query using plone/tal and jquery. What I need is for the "href records/rpc*_url" to be a link to the html document of the same name as the query result. i.e. result = ss-c-1 link = /ss-c-1.html So when the user clicks on the result in the table, the html document opens in the modal. [CODE] <tr tal:repeat="records context/com-int" style="display: table-row;"> <td colspan="10"> <p> Credits </p> <a href="#?w=928" rel="popup_name" class="poplight">Learn More</a> <div id="popup_name" class="popup_block"><a tal:content="records/rpc1_url" tal:attributes="href records/rpc1_url"></a></div> <ul><strong> <li><a tal:content="records/rpc1" tal:attributes="href …

Member Avatar
Member Avatar
+0 forum 1

I am trying to edit my current homework assignment to include a loop that lets the user repeat the computation for new values until the user says they want to end the program. I was given a hint to use integer division and the % operator to implement this function. I have created the program from scratch and researched my book for the last 3 hours (plus online), but cannot figure out how to use integer division and modulus as a loop control. Can someone help explain it to me? Below is the code I have written (it compiles and …

Member Avatar
Member Avatar
+0 forum 8

Basically I've got a text editor which revolves around a jTextArea. There are some settings (e.g. whether line wrap is enabled) that I'd like to save to a file when the application closes, and then load up again when it runs next. I've spent a few hours trying to get it to work by saving to a plain text file and failed, then tried using a serialisable class (which probably isn't even meant to work that way) - and have eventually given up on getting it working without help :) There are two main questions I have: [B]1. How should …

Member Avatar
Member Avatar
+0 forum 2

Hello, I am writing an ASP.NET application using javascript. It uses a modal dialog which has a button. When pressing the button another window is opened. I'd like to perform the action on submit without opening a new window. Here is some code for example: [B]code for first.aspx:[/B] [CODE] <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> <script language="javascript" type="text/javascript"> function openModal() { var returnValue = window.showModalDialog('modal.aspx', 'win','help:no;status:no;scroll:no;resize:no;dialogHeight:198px;dialogWidth:450px'); } </script> </head> <body> <form id="form1" runat="server"> <div> <button id="btn" onclick="javascript:openModal()">Open</button> </div> </form> </body> </html> [/CODE] [B]code for modal.aspx:[/B] [CODE] <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:Button ID="btn" …

Member Avatar
Member Avatar
+0 forum 2

Hi, I am trying to open the Jquery Dialog box using VB.NET. [B]After the data has been saved successfully[/B], I need the dialog box to show up with the message to the user. Also allow user to perform some other actions like clicking the buttons. If I call the same codes from the client sides, like onclick="", it is working fine. However, It does not open from the server codes: [CODE] ScriptManager.RegisterStartupScript(Me, Me.GetType(), "Message", "<script type='text/javascript'>$('#dialog1').dialog('open');</script>", False) [/CODE] Any ideas of what i've done wrong!

Member Avatar
+0 forum 0

Hi everyone, I have a modal dialog box which is called by the main thread. This dialog has no parent (appears at center screen, overlapped, and shown in taskbar). When the user clicks "Save" in the dialog, the dialog procedure receives the command and displays a save file dialog (GetSaveFileName). The problem is that the second dialog (Save Dialog) doesn't work at all. It can't be activated, and seems kind of frozen (can't be closed, buttons and scroll bars are frozen). Here's my code: [code=c++] int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { DialogBox(hInstance, MAKEINTRESOURCE(101), NULL, DialogProc); …

Member Avatar
Member Avatar
+1 forum 2

The End.