html

How to show/hide div on the current mouse over element?

I want to write a script which allow the user when hovering on any element on the page "such as a, img, div" another hidden element will show on this current element and will have its position, width, height with transparent color. How to do that using javascript/jquery? ...

VML/SVG Editor in an HTML Page

I have integrated various WYSIWYG HTML editors over the past few years, but I think I have hit a brick wall on this one. We need a way for people to edit text that turns into VML/SVG when rendered, but remains editable, with minimal styling such as bold, italic, font face and size, and if possible, ability to create a text region anywhe...

Does anyone know a dom inspector javascript library or plugin?

Anyone knows a dom inspector javascript library or plugin? I want to use this code inside a website i am creating, i searched too much but didn't fid except this one http://slayeroffice.com/tools/modi/v2.0/modi_help.html UPDATE: Seams That no one understood about my question :(, i want find an example or plug in which let me implement ...

div Side by side with a twist

Is there a way to make divs side by side? I want the layout ------------ |Header div| ------------ | | | |ul|iframe | | | | But if the iframe is visible:hidden/collapsed the <ul> will take all the space ------------ |Header div| ------------ | | |ul | | | If I make the ul float left, then the...

Parsing a web page without broken strings.

I'm trying to parse some strings from a web page but I keep getting strings that happen to be broken up with no way to check if the string is complete or not. At the moment, I have a buffer of 1024 bytes that I'm receiving parts of the page with. What should I do to make sure I get the full string, preferably without an overly large buff...

Background image positioning problem

I have this as my CSS styling. My #pg_wrap is not centering with the background image when the browser window is resized. The screen shot I have is when you reduce the browser window less than 1344px than the #pg_wrap width (the width doesn't have to be that, was just a test number). The screen shot was taken with Firefox, which does ...

Why DIV shifts when focus() is invoked in onBeforeDeactivate event handler?

I met a wired problem for a web page in IE7/8. The page configured to be dir="rtl". And divRow is made very large width so as its containing div doesn't wrap. Click the editor area, type some words, then click the "Hello world" text. The layout will turns to be messy, because the offset and width of div with divRow class changed. I su...

Input still existing when removed

i append a text input into form by using javascript, after i removed it by removeNode, it disappear, document.forms["form"].length = 0, but i can still get it's obj by using document.forms["form"]["inputname"] (not return null) why? ...

Types of URLs

1) Absolute http://www.example.com/images/icons.png 2) Relative ../images/icons.png 3) ??? /images/icons.png 4) ??? //www.example.com/images/icons.png Do URL types 3 and 4 have a name? One place I've seen type 4 being used is at slashdot. ...

How do I freeze the first and last columns of an html table in a scrollable div?

I have a table which has a header row, but also a header column and a total column with several columns in between. Something like this: Name Score 1 Score 2 ... Total -------------------------------------- John 5 6 86 Will 3 7 82 Nick 7 1 74 The en...

How to get elements which have no children, but may have text?

the empty selector says that: Matches all elements that have no children (including text nodes).Finds all elements that are empty - they don't have child elements or text. What i want is to get elements which has no children but may have text inside., how? UPDATE: Example: I want select these elements which has no children but may hav...

best way to externalize HTML in GWT apps?

What's the best way to externalize large quantities of HTML in a GWT app? We have a rather complicated GWT app of about 30 "pages"; each page has a sort of guide at the bottom that is several paragraphs of HTML markup. I'd like to externalize the HTML so that it can remain as "unescaped" as possible. I know and understand how to use ...

What's the best way of stopping users from copying and pasting text from a web app?

The site I'm working on displays some proprietary 3rd party data that's quite valuable. As such they want to stop people copying and pasting their information. They understand that, of course, there's nothing we can do to stop users just writing down info or printing it off, but they want to make it as difficult as possible for their dat...

Can I render HTML from SQL Database in SSRS 2005?

I have html in an MS SQL DB. I would like to render the html on a SSRS page, is this possible? ...

Why are there extra parameters x and y on my GET request?

When I hit the submit image I get some extra parameters in the GET request: main.php?selected=user_manager_main&mode=set_active&set_this_id=13&x=4&y=7 Please note the x and y at the end. I certainly did not define the x and y at the end. The values seem to be random. Here is the form code: echo '<form action ="main.php" method="get">...

Ellipsis unviewable in HTML

When pulling data from a MySQL database onto a web page, all ellipsis's(...) in the data are displayed with a � in firefox or a square box in IE7. Has anyone ever encountered this problem before? Thanks. update 1: I just changed the original ellipsis '…' with '...' (three dots) and now it works? Any idea what this could be? ...

Would hooking an AJAX function into a link work?

I have a site where I have a lot of outgoing links and I would like to count the clicks to those outgoing links. I need to keep the links need to be visible. (as in, no Digg like links or redirects). So I was thinking of hooking some jQuery function to all outgoing links. This function then calls a PHP script via AJAX that updates the ...

content from database as default for text area in html form

I would like to know the easiest way to extract the text from a database field and set it as the default text for a text area. I am planning at the moment to assiign the field to a variable, and then using javascript set it as the default text, but I am unsure of how to do this last part. ...

Is it wrong to change a block element to inline with CSS if it contains another block element?

I know it's wrong to put a block element inside an inline element, but what about the following? Imagine this valid markup: <div><p>This is a paragraph</p></div> Now add this CSS: div { display:inline; } This creates a situation where an inline element contains a block element (The div becomes inline and the p is block by defau...

How to make a cross browser, W3C valid, semantic, non-javascript ROUND corner?

I want to make a cross-browser (FF3, IE6, Safari, Opera), W3C valid (HTML and CSS both), stretchable (horizontally vertically), without JavaScript and with Semantic and lesser HTML markup Round CORNER. Images can be used for IE6. I've tried and tested many techniques available on community. But everything has one of the problems mention...