html

How is web browser search implemented?

I want to implement in desktop application in java searching and highlighting multiple phrases in html files, like it is done in web browsers, so html tags (within < and >) are ignored but some tags like <b> arent ignored. When searching for example each table in text ...each <b>table</b> has name... will be highlighted, but in text ...h...

Keeping an iFrame static while the window reloads? (creative thinking needed)

Here's my problem: I have a Flash object on my page. The user can change views within the Flash. [Not directly relevant but possibly useful: when this happens, the Flash creates a JavaScript event.] I'd like to create separate Disqus comment threads for each Flash view, and according to Disqus's customer support, this needs a unique UR...

Forms PHP IF Statement

Hi, I have a HTML form, which includes radio buttons that the user can select if he wants to sign up for multiple years in order to get a discount. At the moment, i have a PHP if statement that basically says IF the user selects yes for the discount, calculate the price, display details in a table, perform SHA1HASH conversion, and the...

Chrome and Safari add 'border line' to img with css fixed height and width

I have a small problem with rendering a img tag with an associated with a class. I've recreated the issue with a simple html page. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Test for image problem</title> </head> <body> <style> .image { float: left; cursor: pointer; height:15px...

"Anonymous" Youtube Playlists

Is there a way to embed a playlist of youtube videos in HTML by listing the youtube videos in the embed code, rather than defining a playlist in my youtube account? ...

Passing dom element ids or classes to form submit

I know its not possible to directly pass dom element ids to a form submit funcction on the server but what are the best workarounds for this? Would a hidden field be the only option here? Im using php. ...

:focus on ie6 with csshover3.htc

i try to use csshover3.htc on ie6 for input:focus but fail. Does :focus work on ie6 with csshover3.htc workaround? ...

Mathematic WYSIWYG html editor

I'm looking for a mathematical WYSIWYG HTML editor. So it has to be capable of producing well formed mathematical expressions like in this example: http://www.blau-test.be/files/example.jpg ( the font really doesn't mather, considering it can be styled using css ) Pricing doesn't matter, but it can be free 2 offcourse. If it is , the c...

Safari 5 don't print jpg images in Windows

When I try to print jpg images in Safari (Windows) it print a blank page. Even if I open the JPEG directly in the browser, it prints nothing. Any solutions are welcome. ...

Block on Input tag

How can I block digit in a tag input? ...

press tab to go to selectbox

i have a textbox follow by a selectbox, when i press "tab" on textbox, it doesnt go to selectbox. how to make it go to selectbox? is the solution required to use javascript? is there any workaround without using javascript? editted: <html> <input type="text" tabindex="1" /> <select tabindex="2" > <option value="volvo">Volvo</option> ...

How to run a function when iframe src changes?

How can i run a function when the src of an iframe is changed? The iframe displays a site that is not on my server... When the user clicks on or presses a button inside the iframe, i'd like to perform a function to test whether the src has changed... ...

can an form element <input type=file > take an online image as value ?

for example value="http://imgur/someimage" ...

Jquery - changing background image - throws weird error

Hi, I have 4 list items in my HTML and there is image and a text in the Item. What I am trying to do is when someone clicks on the list item, I want to pull the text out of it and use it to form an image url and assign it to an element's background. But this simple stuff is not working and firefox is throwing a warning without changing ...

[CSS] Unchangeable input image border in FF/CH/SAF/IE8?

Guys, I've found a very strange thing. I was complaining about it before, but nobody sees old questions here. Here's an example: http://tinyurl.com/2ugzj6j It works perfectly in Opera only... In Firefox, Chorme, Safari and IE8 there's a border around this button... And I have no idea WHY? How to delete the border? Thanks. ...

openGraph API - How do i store profile image in mysql

Hello, I have a legacy registration system , whic takes a file input as a field for the user to upload their profile picture. I am now using opengraph to supplement this system. I am able to connect successfully, but am stuck at how to connect the to the link of the picture that i get from facebook. Any ideas ...

Toggling span tag on and off with JQuery

Hey guys, I'm trying to toggle the contents of a span tag on and off using a jquery function. I'm using a span tag as I want the contents to be inline with the rest of the data on the line when it gets toggled. On page load the image I want to toggle appears inline and in the correct position, however upon toggling the image re appear...

workaround for tabindex on firefox on macos?

Is there any work-around with javascript/CSS for tabindex not working on Firefox on Mac OS? without changing Mac OS system keyboard-preference? ...

Making only hyperlink text appear rather than entire link URL

Hello, For the link below, I would like $link1 to appear at the bottom as the anchor text "Comment Link" as a hyperlink. Instead, the entire link is showing down at the bottom. How could I make it so only "Comment Link" is showing? Thanks in advance, John $link1 = "<a href='http://www.domain.com/path/comments/index.php?submission="...

Set div as background of other div

We have two divs. divOne contains information of image and divTwo contains information of table. Is it possible that we can set divOne as background image of divTwo using script? divOne.innerHTML = <IMG src="http://sbc.com/xyz.jpg" /> divTwo.innerHTML = <TABLE id="content"> ....... </TABLE> ...