html

transparent borders with css 3

Is there a way to make the borders of an element semi-transparent? using purely css? like the modal window that facebook uses? ...

Is there a better alternative to Line Break

Hey guys, Sometimes after a <div> class the next line comes on the same line and I need to put say 10 <br> to get it to the next line. Is this okay or is there an alternative to this? Everything works out fine, it's just that I need to put 10 <br>. Is this normal? Thank You GOT IT TO WORK USING CLEAR:BOTH. THANKS. ...

HTML Form POST to PHP Script not working

Ok, so I've been writing PHP code for a little while and understand it pretty well, but this has me stumped. // PHP file $country = $_POST['country']; $state_province = $_POST['state_province']; $postalcode = $_POST['postalcode']; $productid = $_POST['productid']; $quantity = $_POST['quantity']; echo $country; echo 'Script is fine'; ...

Can anyone help me figure out why this gallery plugin is behaving this way?

Hello SO: I am using jQuery and a plugin called Galleriffic to display some images and text on a website I am developing. I have only tweaked the CSS (size and color mostly) to fit my page, but for some reason the text that displays for the next image you click appears below the current text then when the old text fades, it slides up to...

map.setUIToDefault(); error

below code is working fine in fire fox and google chromo but in Internet explore 9 is not working. its getting error in "map.setUIToDefault();" var map = null; var geocoder = null; if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById('map_canvas_big')); map.setUIToDefault(); map.disableSc...

Why is my code failing to pass parameters from JavaScript to JSP using XMLHttpRequest?

I am trying to write JavaScript code which, on a mouse click event, sends some parameter (id) to the server-side JSP code. The JSP code then returns a string to the JavaScript. HTML code for the button: <button type="button" onClick="function();">Click Me!</button>" ...and the script: <SCRIPT LANGUAGE="JavaScript" TYPE="TEXT/JAVASC...

crawling a html page using php?

this website http://courses.westminster.ac.uk/CourseList.aspx which lists over 250 courses in one list, i wanted to get the name of each course and insert that into my mysql database using php, the courses are listed like this: <td> computer science</td> <td> media studeies</td> etc... is thier a way to do that in php, instead of me ...

How do I invoke a Perl CGI script when the user requests an HTML page?

Is there anyway to invoke a Perl CGI script when an HTML page is requested to server? Just like a script can be tied to an action, is there anyway to tie a script to "Request for page" ...

ColorBox Grouping Photos

Im using color box, i have it working fine, except i don't understand how to add multiple images to the gallery when it is clicked. Here is the page i am working with: CLICK the FIRST FLOWER http://newsite.702wedding.com/las-vegas-wedding-flowers.aspx But i need 2 images to appear for each flower. Thanks for your help! ...

Space between div and img?

Hello, I have code like this: <div id="sc"> <h1>1. Orange</h1> <p>some text in here </p> </div> <img class="separator" src="images/separator.png" /> There's ALWAYS 13px gap between the "sc" div and "separator" img. Margins and paddings for bo...

Need to make POST when users clicks on a image

Hello guys, im very new at javascript so, this is the question. I need to make a POST action every time a user hit an specific image on the web page, every image send a POST var like "image1=1"... example: In this page, every time you hit the number to vote, it makes a post action, i need the same but with images and with an explanation...

How to track lines count when words are wrapped?

Have a text to output in div printed with not fixed-pitch font. This div height permit to print only 4 lines of text. Is it possible to track automatic browser word wrap, so I can find position in text, when it has reached 4 lines and to cut away next lines? Any suggestions using Javascript manipulating with DOM or maybe text line length...

How should the dotted border on clickable images be removed?

Client does not like the dotted border. I like to leave it there for accessibility reasons. :/ I guess I have to though because the client asked, how would I? ...

How to install a Font in server

Hi, I have downloaded and installed a font in my system, then i used this font in my project, its worked fine in local system, but when i upload this page to server its not working. How can i install a font in server? or How can i solve this issue? Please Help me!!!! ...

Encoding for Return value

I´ve got this javascript: <a href="javascript:addtext('q');">q</a> When it is clicked it writes text on a textarea. I went through the encoding and found can do things like this: This will add a " " (Space) <a href="javascript:addtext('%20');">Space</a> And this will add an "á" <a href="javascript:addtext('&aacute;');">á</a> N...

Bind asp.net Server Side Data to Html Combobox

hello i want to use Jquery UI AutoComplete Combobox in my asp.net application. Here Is My Sample Code : My Combobox is an html control. how can i bind server side data to it? Or Is It possible to Use Jquery AutoComplete box for asp.net combobox? Select one... asp c ...

how do I get the Id of elements having a same class ?

i have a class .myclass i want to get the id of all textbox [html] who have this class. how i can do this. i need to do this in jquery ...

problem with z-index on ie6

Hy, I run for several hours on a bug ie6, it was not the only one that I was locking it remains only to solve this one and I would finally be quiet. I have a vertical menu that I built, the problem is that the second level menu does not overlap with that of the first level despite the z-index. Under FF is impeccable, in ie6 it fair. ...

How do I fix the button's position ??

<table> <tr> <td> <div style="margin-left: 220px;"> <asp:Button ID="btn1" Text="Edit" CommandArgument='<%#Eval("UserID") %>' CausesValidation="false" CommandName="Edit" Visible="false" runat="server" /> </td> </div> <td> <div style="margin-left: 370px;"> <asp:B...

HTML : Make the text unselectable

there is text but you cannot select it check this out How to achieve this? ...