html

WYSIWYG HTML editor with rel=follow/nofollow

Hi, I'm looking for an WYSIWYG HTML editor with option to set the rel atribute in links. Suggestions? ...

Resizing iframe? - Webkit or Firefox

Hi folks, is it possible the proportions within an iframe? e.g. 100%, 50%, 25%, ... I would like to implement a "magnifying glass" for a webpage or iframe. It does not have to be implemented in Javascript within a website, but even a desktop solution would be great. Is this a possibility? or would it be incredibly complicated? Any ...

Can't access form element in IE because it 'is undefined'. Works ok in FF and Chrome

It's strange because I only get 1 error in IE: 'sTime is undefined'. sTime is the ID of one of the many input elements in my form. Everything works fine in Chrome and FF. Here's a link to the code: http://la.truxmap.com/sched.html and the form html: <form id="addNewTruck" class='updateschedule' action="javascript:sub(sTime.value, e...

Great animation engines for Javascript? - Javascript/Animations

Hi folks, I'm trying to implement a timeline based animation, where animations will be able to be: paused resumed fast forwarded slowed down reversed ... Are there any animation/tweening engines for Javascript that could be used for such purpose? Or that would be highly recommended? Hwlp would be great, especially as this really ...

How to add news in ticker ?

Hi Actually my code is- <html> <head> <script type="text/javascript"> var sText = "" var i=0 var iNews=0 var rss = new ActiveXObject("Microsoft.XMLDOM") rss.async = false rss.load("http://rss.news.yahoo.com/rss/world") function GetNewsSource(){ var itemNodes = rss.selectNodes("/rss/channel/item") var iMax = itemNodes.length sText = it...

Multiple CSS borders without wrapping?

Hi, I want to create a button with two solid borders around eachother, like this: .--------. |.------.| ||Button|| |'------'| '--------' Of course I can do it this way by wrapping the button into an evil, bandwidth-consuming <span>: <span class="outer-border"> <a class="button" href="http://www.example.com/"&gt;Button&lt;/a&gt; <...

First list item (<li>) floating right in google chrome

I am having problem with google chrome. The problem is the first list item's bullet is floating right and all other list item's bullet aligned correctly at left. Plz help. Any help will be appreciated EDIT 1 <div class="window_sub_title2">The Interface</div> <ul> <li>Toolbox </li> ...

IE8 inserting text to textarea problem

I have some code to insert tags to textarea (for Internet Explorer). But I have problem with IE8. If there is lots of text and I try to insert text somewhere in the end - it's scrolled up. Code: <script type="text/javascript"> function bold() { var text1 = document.getElementById('text1'); var sel = ''; if (document.select...

jQuery wResize - resizing IE windows

Hi, I have encountered a problem with re-sizing IE windows. I have considered using a timeout event, but this isn't good enough because time may vary from one re-size to another and I'm not interested to setting a time-out to 5+ seconds. Are you aware of any alternatives to wResize jquery plugin? THank you ...

WordPress the_date skipping at intervals inside a loop.

I have made a custom loop in WordPress and for some reason, the date is being skipped on random intervals, even though the other post content is getting pulled in successfully every time. Any ideas, because it is completely baffling me! For example, a list of posts and when the date is missing: Date Date No date Date Date No date ...

Retrieving value from a textbox in HTML table

Hi, I have a table which has textboxes in its cells. All these textboxes are created and populated dynamically by using PHP. I have to iterate through the cells and get the values. By using the following code, I am able to get the innerHTML of the cells. var tblLang = document.getElementById("tbl_Languages"); var tblrows = tblLang.rows...

Code supplied by WordPress breaks my XHTML 1.0 Strict-compliant theme

According to the WordPress wiki pages on developing themes, I have to call wp_head() in the <head> tag so that WordPress can insert some additional HTML code into my theme. Normally this doesn't cause any validation problems, but when I search for something on my custom-themed WordPress blog one of the automatically inserted lines doesn'...

ie8_getElementById()

Whats the difference between document.getElementById() and document.ie8_getElementById(). Thanks in adv. ...

Rendering of <h:commandbutton> in Firefox?

When we set disabled attribute for is set as true, in Firefox the button still looks like it is enabled but in IE it is working fine. Is it a limitation with Firefox or JSF. ...

Dynamic Table Layout using PHP Logic

Hello all, I have simple table that has about 80 rows, which I populate dynamically using PHP. What I am trying to do is to layout those rows in chunks for each column. So if I have 80 rows, I would like 4 columns of 20 rows or so, maybe the last column has less or more depending on the total number of rows. The total number of rows can...

Semantics and Structure of Name-Value Pairs

This is a question I have been struggling with for a while. What is the proper way to mark up name/value pairs? I'm fond of the <dl> element, but it presents a problem: There is no way to separate one pair from another - they have no unique container. Visually, the code lacks definition. Semantically, though, I think this is the correct...

accent not showing in jQuery load

Hello, I'm working on a small site that I would like to change a little bit so it is more dynamic. The index .html is something like <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> ... </head> <body> <div id="page"> <div id="header"></div> <div id="main"> <div i...

Make Script / Object load last

I have a webpage which lags while loading, because an embedded object is trying to be processed... My webpage load sequentially, but the script delays the entire page because it appears at the top... Is it possible to have the script / object load last, but still have it appear at the top of the page? ...

common problems with images html

Are there any common problems why alt attributes on images wont work. Tested for IE8 Standards mode. Thanks in adv. ...

vbscript - How to get the type of a variable?

The title says it all really. I want to get the type of a variable using vbscript. Thanks. ...