box

IE6 Box Model bug. Spry Sub-Menu displays over my Normal Menu in IE6. Wrong Positioning.

Hello, first of all im a beginner so any descriptive help i would really appreciate. so my spry menu looks fine in every browser except IE6... my website is ritztheatre.net (srry cant post more then one hyperlink) here is a screenshot of what happens when you hover in IE6. any ideas? http://img130.imageshack.us/img130/1612/spryprob.j...

how to implement a search box in c#

Hi: I want to implement a search box in a window form. In that window form, I have a few botton and a text box. I want to support the use case when user enter a string in the search box and then we can find the that string and highlighted like firefox does. Is it hard to do this? I googled and found this link that has the search box c...

php radio box values

Given that when using an html radio box, to send values to a php script, only the selected values is sent to the php script, still holds true. Do I still need to check that the user has selected something, when I am only interested in the selected value being sent to the php script, if the user does not select anything we do nothing or ...

PHP syntax and structure for radio button and its values

Radio box code: <input type = "radio" name = "choice" value = "A" />Apples /> <input type = "radio" name = "choice" value = "B" />Oranges<br /> $choice=array("A"=>1.00, "B"=>0.80); echo $choice["A"]; // will give me the value of 1.00 echo $choice["B"]; // will give me the value of 0.80 Given the code snippet above, i...

html php and select box simplification

Is there a better way to structure this, using html and php? If I had a billion values, this would be a bad way to set them up, not to mention time consuming as well? I am a newb, and I am pretty sure there is a better way, however, my way of doing it seems to be the long way, as in long division, I am pretty sure there are easier meth...

facebook problem about opening a dialog box

I have a problem regarding opening a new dialog box. Which encounter an error like "MOCK AJAX ERROR:". I have writtten below code for dialog box: <fb:dialog id="my_dialog" cancel_button=1> <fb:dialog-title>My Little Dialog</fb:dialog-title> <fb:dialog-content>Do you like my little dialog? <form id="my_form"> <p/> ...

C# combobox selected index changed fires old value

Hi, I have a situation when I want to change the selected value of a combo box in a windows forms application by using Ctrl-Left ori Ctrl-Right. However if the combobox is the selected control on the form this does not work. The selected value is set to the old value after it is set to the new value. If the combobox is not the selected ...

Custom css select boxes using jquery

Hi all, I'm using this script http://mondaybynoon.com/2009/02/23/creating-custom-form-elements-using-jquery-selects/ to create custom css select boxes in my page. Javascript code that is used to apply the css styles on selectboxes, uses their id as a parameter: $(document).ready(function() { $('#cont').selectbox({debug: true}); }); <...

GWT : How to Read Hidden Box value??

I Have a hidden box in my HTML. How I can get it value in my GWT when onModuleLoad?? the hidden box will content a value pass from another page. Now I can see the hidden box content the value but I fail to get the value in my GWT onModuleLoad. HTML page: [code] <% String sSessionID=request.getParameter("NA_SessionID"); if(sSessionID==...

WinForm: Selection box flickers when dragging the mouse

Hi. I made a click-drag selection box in a picture box. In the picturebox Paint event hander I use e.Graphics.DrawRectangle(pen, rectangle); and update the rectangle and refreshe the picturebox in the mouse move event handler. The selection box looks smooth as long as the mouse remains at the bottom-right corner (i.e. drag to right/b...

AJAX/DHTML/LIGHT BOXES

here is my js code <script type='text/javascript'> // Browser safe opacity handling function function setOpacity( value ) { document.getElementById("popup").style.opacity = value / 10; document.getElementById("popup").style.filter = 'alpha(opacity=' + value * 10 + ')'; } function fadeInMyPopup() { for( var i = 0 ; i ...

want to display flash object in smooth box?

hi i want ot display flash content in smooth box right now it totally disabled tags for flash content,no code at that place instead of flash object code. ...

fb:comment does not work on my application

hello! I'm new for facebook developer. I want to add comments box to my application and I follow the tutorial in facebook wiki. It's not work in my application. My Canvas Callback URL is http://122.155.0.71/~facebook/ and I upload xd_receiver.htm to root directory. and I paste the code FB.init("b6e07896a1d0889...

Cakephp ctp create form input - php

i am creating a calender prog, using cakephp when calling a method disp with month and year as params, it should disp the calender.. this my index.ctp//$month int 1 to 12 //$mon[12]=='December' <?php echo $form->create('Calendar', array('action' => 'disp', 'class' => 'normal')); ?> <?php echo $form->input('month', array('options' =...

Adding a fan box on a facebook fan page

I am trying to add a fan box on my fan page using the tag. But it just doesn't get rendered on the page. I also tried using an as mentioned in http://wiki.developers.facebook.com/index.php/Fb:fan, and setting its source to another file which contains the code for tag. But even that doesn't work. Any help regarding this would be appre...

refresh an image inside a jquery dialog box

I have a jquery dialog box that opens by means of a link. I would like it so that everytime I open the dialog box the image is refreshed. I tried something like this: function open_dialog() { $("#imageThumbBox").dialog('destroy'); $("#imageThumbBox").dialog({ autoOpen: false, closeOnEscape: true, resizable: true, h...

CSS box shadow on container div causes scrollbars

I have a website with the following setup: <div id="container"> <div id="header"></div> <div id="content"></div> <div id="clearfooter"></div> </div> <div id="footer"></div> I use the clearfooter and a footer outside the container to keep the footer at the bottom of the page when there isn't enough content. My problem is that...

jQuery dialog box, php form.

i have a dialog box that opens on pageload for a site. script type="text/javascript"> $(function() { $('#dialog-message').dialog({ modal: 'true', width: '400' }); }); </script> this pulls up an include: <div id="dialog-message" title="Free Jiu Jitsu Session at Alliance"> <!--#include virtual="/inclu...

Populate InfoPath Combo Box

I am trying to populate a drop down and found this page, which provides part of the solution: http://www.bizsupportonline.net/infopath2007/programmatically-fill-populate-drop-down-list-box-infopath-2007.htm I got this to work, but if players.xml was changed, the drop down list didn't reflect it. I had to rename the file and add the ...

PHP Delete Confirmation Message

Hello, I am working on the page that will display a button for delete. Here I want some help from Javascript. If that delete button is pressed, a message box should appear asking if the user is sure to delete the record. If the user presses Yes then the delete.php is working . If the user presses No then the user should stay in the sam...