html

Jquery disable link in table row

Hi, My jquery is not working as expected: I am trying to loop through each row then loop through each td and check if a td in a row contains the text 'test1' if so I need disable the link defined in a td with class "ms-vb-icon2" within the same row. $("tr:has(td:contains('test1')) td.ms-vb-icon.a#click").click(function() { return fa...

How to link an image and target a new window

i have a picture, if i click onto that picture, another page opens in a new tab or a new window of my browser.. it`s just like making a href ... ...

How to get mailto working for IDN email IDs.

Hi Guys, I have mailto:test@维奈.com on an image which when clicked opens the email client, but the emailID appears as asas@维奈.com . Any Idea how I can get mailto: link working for IDN domains?. ...

creating html tab pages?

Hi, if i were to create tab pages in HTML, what 'container' so i need to produce multiple times for each 'page'? I was just going to adjust the 'visible' property (whichever one doesnt take up layout space when unselected) when the button is clicked. ...

CSS and HTML mouse out?

Hi, ive been googling but cannot seem to find a mouse out method, similar to hover, for css. Is there one and if so how should it be coded? ...

Remove dynamically created form elements

Hi, I have a tabbed nav and I am creating/removing elements based on tab clicks. I am using the live() (since elements are dynamically created) with remove(). tab1 adds elements and tab2 deletes few of them. adding works well but delete does not delete those dynamically created elements. Any thoughts around this? If I need to post t...

What is this syntax error ?

Hi, when i copied this code from page error found that there is syntax error in this line in dreamweawer. <a href="javascript:ajaxpagefetcher.load ('bob','sub/content2.htm',false,'',['page.css'])">Load Content 2</a> Please suggest answer.. thanks ...

What's the correct syntax for replacing HTML elements with an <!--[if IE 7]> statement?

Hi, I need to have a slightly different HTML element in IE7 than the rest, here is what I have so far: <p> <label>&nbsp;</label> <!--[if IE 7]> <span class="progressIndicator" style="display: none;"></span> <button type="submit" class="submit" value="" id="qsubmit">SEND</button> <![endif]--> ...

Ruby on Rails or programmatically generated <span> or <img>, each on a line, causing spaces in between when displayed

When using Ruby on Rails or other framework, a lot of time we generate <span> or <img> in a loop, and each line will be on a new line. So when it is rendered in HTML, there will be extra space between those inline elements. How can it be solved? Must they be made into 1 long line, or solvable using HTML or CSS? ...

html <select> tag IE 7, 8 problem

i have tag but when i click on it it opens from top of the page not from where i click on it. is big <select name="ctl00$cplResults$ddlFromCurrency" onchange="javascript:setTimeout('__doPostBack(\'ctl00$cplResults$ddlFromCurrency\',\'\')', 0)" id="ctl00_cplResults_ddlFromCurrency" class="styled"> <option value="0">Izberi</o...

Stripping all html tags with Html Agility Pack

Hi forum I have a html string like this: <html><body><p>foo <a href='http://www.example.com'&gt;bar&lt;/a&gt; baz</p></body></html> I wish to strip all html tags so that the resulting string becomes: foo bar baz From another post here at SO I've come up with this function (which uses the Html Agility Pack): Public Shared Functi...

Formatting html.ep

Is there any tool available to just format (remove whitespace and indent correctly) an *.html.ep file? Its a template file of a perl app. Thanks ...

Strategies for rendering HTML with Javascript

I take a fat JSON array from the server via an AJAX call, then process it and render HTML with Javascript. What I want is to make it as fast as humanly possible. Chrome leads over FF in my tests but it can still take 5-8 seconds for the browser to render ~300 records. I considered lazy-loading such as that implemented in Google Reader ...

Want to install yahoo Boomerang in GWT project

Hi Guys I want to install yahoo Boomerang in my project .. and also want to see the performance of my site using Boomerang ...... Please suggest me ... Thanks ...

C# How to send a rendered HTML page to the printer

Hi, from a CLI application (or library) in C#, i can send something to the printer, select it etc (using PrintDocument and PrinterSettings. How can I send to a printer a rendered HTML page? Like instantiating in memory IE and use it to render / print the page? This without opening an actual browser window (ex, do it all from the comman...

How best to reduce duplication across pages

I have a site that has a big form page and about half of the form will be used elsewhere, and it will be exactly the same. I want the same access to all of its elements wherever I place it, but I don't want to copy and paste the code around because that will make for too much room for error. I'd prefer to not use a WebUserControl, as I'l...

setTimeout Not Working Oracle Apex

Hi, I am trying to run this code from this thread in StackOverflow in Oracle ApeX and it looks as if the setTimeout call is not working as suppose to: [see thread][1] <html lang="en"> <head> <title>Dashboard Example</title> <style type="text/css"> body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; } ifram...

Javascript plugin for cross-browser range

Hi Is there cross-browser javascript plugin (jquery/any js library) for handling ranges, especially Firefox's range object(https://developer.mozilla.org/en/DOM/range) and Internet Explorer's TextRange (http://www.webreference.com/js/column12/trmethods.html)? Thanks Srikanth ...

What is <meta http-equiv="Reply-to" content="[email protected]" />?

What does the following HTML code do? <meta http-equiv="Reply-to" content="[email protected]" /> There does not seem to a "Reply-to" equivalent header in HTTP. Should I remove it or correct it? ...

How is this superb site constructed?

I found a website last night that is simply awesome. Here's the URL: http://yourworldoftext.com/ WARNING: Site may be NSFW. And it got me thinking straight away how this site is constructed. Taking a look at the page source doesn't reveal much, but if I look at it in Firebug I see a lot of tables like this: <div class="tilecont" styl...