html

Image overlay help - it all stacks over one image!

I have a set of four images, and my functionality goal is so that when you hover the mouse over the image thumbnail, it applies an overlay with some information that you can click. To give you an idea, take a look at this image: I've got the basics down, but currently the overlays are just stacking in the top left image. Not sure how...

problem fetching a jsp page using curl

I'm using LIVE HTTP headers to sniff the HTML traffic and to mimic it using curl. The page I'm trying to get is a .jsp and I noticed that some data has been added to the cookie. I'm using the cookie I retrieved when log in to the site. This is the link: https://direct.orange.co.il/selfservice/info/notLoggedUser/notLoggedIn.jsp?loginTo...

How to set a row as a defaulty selected row in xcode

I am displaying data dynamically into the table view from sqlite3 database. whenever a limit reached (for ex. indexPath.row=15 is limit) the query will executed and the next set of data will be displayed. but here my problem is if I scroll the table if the table reaches the limit, the started to reloading continuously, til i scroll down...

How to use a variable in Google Analytics' Custom Variable

I'm trying to track a particular section of links on my page. I want to know what is clicked, so I'm trying to set up a click handler with jQuery to register a custom variable with Google Analytics, but it's not working. Here's my code: <!--Google Analytics--> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_s...

PHP Print and Echo HTML

very simple question. Lol i am embarassed to ask this cause i am usually very good with php but what are the ways to display html inside of php? for example: <? if($flag): ?> <div>This will show is $flag is true </div> <? endif; ?> OR <? if($flag) echo '<div>This will show is $flag is true </div>'; ?> I know that ther...

Drop Box Like StackOverflow tag chooser

i need help on coding javascript to detect the up and down arrow key hits and do an event on each key hit, without changing the cursor position of a focused textfield kinda like the stack overflow tag chooser Thanks again for any help ...

I need to strip dynamic information from a html/php file with PHP

Hi there, I have been trying to strip information out of a dynamically generated page and then insert the information into a database, this is only a one time thing. to explain the layout: I have a list of 700 IP addresses in my database currently but they have no location linked to them, I am using the following code to retrieve the ...

CSS: Align table to top

I have a page with the container in a table I need to align it to the topmost of the page, but there is a gap. Also need to center the page horizontally. I tried body { margin:0px; padding:0px; } ...

Remove HTML special charcters

How do i remove “ , ” , ° like special characters from a string in PHP Actually i need to read the contents from a text file and need to remove the html special characters except the alphabets and digits from it ...

3rd party applications inside iFrames?

I am about to build a web application and I want to allow other developers extend it with their own applications. Should I do this with iFrames like Facebook? Is this a good practice? Are there other alternatives that let other developers extend my application (that is for the user it looks like it's from my application). To be speci...

Whats wrong with my table ?

Guys, Check this out : Deleted link to website offering illegal services and here is the code for the table: <table align="center" width="303" height="740" border="1" cellpadding="10"> <tr> <th width="130" height="41" scope="col">URL1 - Normal</th> <th width="121" scope="col">URL2 - Hover</th> </tr> <tr> <td height=...

TextArea line breaks for e-mail

How can I take the text from a textarea (html) and insert line breaks. Right now, if I input info to send out as an e-mail, it puts all the text on the same line without any line breaks. Using $_POST['field'] to get the data from the form and sending using PHP mail. ...

Lazy loading images how...

Hello... I am developing an eshop .At products page based on category i putted some javascript based filtering. However a problem arises if a category has a lot of products. This link has something similar i do ... http://www.snowandrock.com/sunglasses/snowboard/fcp-category/list?resetFilters=true How ever this page is painfully slow a...

php constants and EOT

is it possible to display constants php's EOT? for example: <? define('Hey', "HellO"); echo <<<EOT Hey EOT; ?> ...

HTML input type submit value without modifiying post value?

Lets say I have a really simple html form: <form action="./whatever.php" method="POST"> <input type="submit" name="TheButton" value="Apples"> </form> Which of course makes the button the user sees say Apples. I want the post request to be TheButton=Oranges ... Is there a simple way to deal with this in HTML, or will I be need to d...

sql injection attack

Possible Duplicates: What is SQL injection? What is the best way to avoid SQL injection attacks? Hi All, Could you please help me in learning sql injection attack. Please provide me with the code which is vulnerable to sql injection and the one which is not. Thanks in advance ...

Overiding/Appending querystrings

Just a curiousity rather than an acutal need, I've never thought about this, but I can't think of any html which would do this. I could do it in Javascript or Serverside easy enough, but curious if browers can implement this anyway. Say I'm at a url: http://www.mysite.com/?param1=10 and I have an <a> tag, is there anyway to make it's h...

JQuery UI Datepicker Adding Code Before </body> - Messing Up Layout.

Hello, I'm using JQuery UI for various things, one being the datepicker. I've notice it's adding this div at the end of my page: <div class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible" id="ui-datepicker-div"></div> just before the </body> tag. Which leaves a 40px-ish gap at ...

Dojo Select widget not populating contents from a datastore

I have been trying to connect to simply connect a datastore (ItemFileReadStore) to a dijit.form.Select widget and have been unable to. If I use the options field to populate it then the widget works fine but when I go to use the store field to populate it the widget appears but its contents are empty. The code that I am trying to use is...

Align DIVs horizontally within a scrolling div

I'm working on a photography website. One of the things we're trying to aim for is a 'film strip' type of display for the images, as opposed to the usual thumbnail or 'tabulated' formation. It works with tables. No problemo. The only thing that makes me not want to use a table is the fact that I'm not showing data, there's no need for c...