html

Submitting POST data to a different site and then extracting the output with PHP

I'd like to use the snoopy class, but I don't have the proper server permissions with my shared hosting to install it. Any easy to use alternatives? I need to submit this POST data: hash = $_POST['hash'] Submit = Submit to this site: http://milw0rm.com/cracker/info.php And extract the output in the -::PASS column from http://milw0...

HTML Comments to detect IE6 and IE7

<!--[if IE 6]> I am using IE6 <![endif]--> That works. How do I do "or" IE7? ...

replace html tag in html editor with specific string

hi anyone knows how to replace a html tag in a string with specific characters: e.g. string s1 = "<span style="italic">inluding <span style="bold">other</span> tags </span>"; string s2 = "<span style="italic">inluding </span><span style="bold">other tags </span>"; i want to replace "span" with "bold" to "bOpen" and "bClose" and to...

Cancelling change event in HTML ComboBox

Hi All, Please help me. When selected item is changed in html combobox, I want to cancel the selection change in particular items. I have tested the following cases (in combination) but not help. return false from event handler window.event.returnValue = false; window.event.cancelBubble = true; event.preventDefault(); event.stopPropaga...

applying varying styled text

when i write a paragraph i would like the text to look like this: is it something that i have to do in css? i want similar formatting. ...

What is the difference between <p> and <div>?

What is the difference between <p> and <div>? Can they be used interchangeably? What are the applications? ...

How to keep div menu slided down even after reloading the page, jQuery

Hello, I have the following HTML code: <form action="" name = "myform" method = "post"> <div id= "button">myButton</div> <div id="submit"><input type="submit" name = "submit" value="update"></div> <div class = "hiddenMenu" > <div id = "checkboxes"> <input type="checkbox" name="checkbox1">Checkbox1 <i...

Which Frameworks Abstract Away the DOM?

A recent twitter post I've seen made some comment to the effect of "the DOM is Javascript's ugly date". I tend to think that the DOM is a horrible way to define user interfaces and certainly in the context of multiple browsers with their quirks I find trying to build sophisticated web apps with complex view layouts to be a completely fr...

wonderful world of crossbrowser css

I'm just beginning to learn about the differences between how css (and html) is rendered in internet explorer vs. firefox. Firefox Displays...............................IE Displays my html code <div id="navmenu"> <ul id="menu"> <li><a href="welcome.html" target="content">Home</a></li> <li><a href="http://www.google.com"...

Add html string to DOM as element

Is there anyway to create a string and add to the DOM? And having Javascript to understand the elements in the string? I tried the below and 4th line gives error: var bmdiv = document.createElement('div'); bmdiv.setAttribute('id', 'myDiv'); var str = "<b>aa</b>"; bmdiv.innerHTML(str); I need to add several tags in str to the DIV myDiv...

render html page into gtkwindow

hi... how can i render HTML page into gtkwindow? say, i already have a downloaded/written HTML page. i want to render the content of that page in my gtk application. how can i implement ? ...

simple unbloated method for applying a div as a mouseover fadein 100% width caption

The title pretty much says it all. There are tons of scripts out there that do so, but most of them are so bloated and end up messing up script, and just use info from alt tags. My script goes as follows: <ul> <li style="display:block"> <img src="images/portfolio/talktostrangers/1.jpg" /> <div class="capt...

Html marquee tag

Hi, Is html marquee tag deprecated ? If yes what are the alternatives for it on the modern browser ? I want to create a simple marquee effect on my joomla page ...

Google Gears shifts site down in Chrome.

So added gears functionality into my Mobi Engine, but there is a wierd behavior when viewing the site in Chrome. The HTML gets shifted down by about 15px. All other browsers tested so far does not show the same problem. Also doesn't seem to affect any mobile browsers. Check here for the symptom. http://cibr8.itell.mobi I only need gear...

CSS - Help me style this menu without using margins?

Hi, I'm creating a site where I've encountered a huge IE lag when hovering over the menus. I'm using Cufon in combination and it seems like it's causing a huge lag when I apply height, width, margins or paddings to the li:hover element. So, I need to figure out a smart way of doing this otherwise. The site is here, http://w3box.com/m...

Wrapping a text using php, based on language

Hi! My problem is that I have quite a small area (div or span), in which one to about five words are displayed. However, the area is too small for some words (for instance "muziekgeschiedenis" will surpass the area's bounds). Is there a way in PHP to wrap this word, but not solely based on number of characters? I can use wordwrap(), or ...

targeting frame one frame from another.

i have main html page which have two frames frame1 and frame2. frame1 is showing tree.php page and i want that when i click on node of tree displayed in tree.php some html or php page should be displayed in frame2. how i can achieve this??? ...

CSS - Is it possible to split up a <li> element?

Hi, I'm just wondering, is it possible to split up a 'li' element? I want to try to create a menu where the :hover effect is made up of three divs. Or, I'm not sure if I need three divs. All I want is for the general :hover effect to have a certain color. Then I want a small image of an arrow like shape in the centre of each 'li'. Thus...

Select-copy from a web page adds the page hyperlink to the clipboard

If you select a paragraph from eg http://www.wired.com/gadgetlab/2010/01/ipad-flash/ and paste it in word, you will notice that the link to that page has been added at the end of the paragraph. Here is an example: Some of Apple’s promotional material about the iPad implies the device’s Safari browser can load Adobe Flash cont...

"html agility pack" like module for perl

Hi everyone! Can anyone recommend a good module like "html agility pack"(.net) or "Beautiful Soup" for perl? Thanks in advance! ...