558 Posted Topics
Re: [QUOTE=MidiMagic;996969]- Alignment is not inherited from div to table. You need to apply the style to the td tags. - The php script may be overriding the style. - If there is any syntax error in the style, the entire style becomes invalid in some browsers. You have syntax errors, … | |
Re: [QUOTE=puk;996549]I have a text box in a form that is validated to accept a value called ds01 but i also want the textbox to be allowed to accept empty spaces that is if nothing is entered in the textbox. The problem is that it does not accept anything other than … | |
Re: [QUOTE=drewjj;994424]Hi People, Hope some body can help I have been pulling my hair out over the last few days trying to figure this out!! Problem: I have narrowed the problem down to a <div> with a 2 floating images and float <ul> <li> as my menu. When the inner wrap … | |
Re: [QUOTE=akulkarni;996568]i am trying to help a friend on a program on client side scripting using javascript. i have the following code but i am not getting the output desired. [code] <html> <head> <Script language="JavaScript"> var usernameVal; if(document.f1.usernameVal.value.length<3) { alert("username is invalid") return false; } else { alert("acceptable") } </script> </head> … | |
Re: [QUOTE=Mike_H;980995]I have a page with one image that I need to center both horizontally and vertically in the browser window and also to fit vertically without going past the viewport of the screen. It needs to be able to do this on IE7+/Firefox 3+ and all variations of screen resolutions … | |
Re: [QUOTE=j_limboo;992512]New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript … | |
Re: [QUOTE=tarunkhatri;994113]I have a javascript function for calculating sum of values in row and colom of a table. It is using get element by id table name. So is table specific. I am calling that function every time a value changes in the table by [CODE]<td><input type="text" value="0" size = "2" … | |
Re: [QUOTE=jeffherron;992562]Please view the following URL in IE8 and then in any other browser. [url]http://minorityrecruitonline.com/college/default.aspx[/url] It looks fine in every browser except for IE8. The culprit is the extra space being included after the </form> tag. Does anyone know how to remove this space from IE8? I have tried all the … | |
Re: [QUOTE=adino2;992223]I written a code to create a image viewer using javascript. But the script only works in IE but not in firefox. Please help. The code is below...... [CODE] <script type="text/javascript"> function changeImage(filename) { mainimage.src = filename; } </script> <center> <img src="images/bg.jpg" name="mainimage" width="419" height="282"> <marquee width="90%" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();"> … | |
Re: [QUOTE=Agent Cosmic;741385]I am very interested in developing RIAs. So I just wanted to know you opinions of each of them. I have a good foundation of XHTML and CSS, so is AJAX better? [/QUOTE] Better than XHTML and CSS or better than better?! You've titled this thread ajax vs flash … | |
Re: [CODE]# This is a good example of using javascript innerText property which is not # as popular as innerHTML property[/CODE] Yeah, good old sanity method, -not supported by crippled "modern" browsers until yesterday! In fact, firefox still dosn't - currently tested in fx 3.5.3 no error but no go either... | |
Re: The values are being kept and passed on function argument variables base & exponent, and the function will call itself until the exponent variable value reaches 0 ending the loop with 1. Such a small, simple and powerful code deserves admiration :') | |
Re: What do you need exctly? 1. Zoom to its native size; or 2. stretch it out to maximum available width/hight; 3. or stretch it by percetage zoom to 100% 200% 300% etc? | |
Re: try changing the [ICODE] embeds[i].insertVid(id);[/ICODE] into [code]insertVid(embeds[i].id);[/code] | |
Re: suppose you have ids of text elements as you mention: "1hr, 2hr, 3hr, 4hr, 5hr...." [CODE]javascript: var D = new Date(); var h = D.getHours(); [/CODE] [CODE] document.getElementById(h+'hr').style.backgroundColor = "red"[/CODE] that would set the correct text element background color to a (highly) distinctive color there. :') If you'd like it … | |
Re: [QUOTE=SCRAWL;964201]This is how my site currently looks on my PC: [url]http://i30.tinypic.com/j6ramv.jpg[/url] However, when I go on a friend's computer or someone else's with a different resolution, it displays differently. Instead, those circled (or squared) elements break onto the next line for some strange reason. If anybody can help me to … | |
Re: Sorry, that's something that can be done in IE5 and later only. You can try this code from: [URL="http://www.astahost.com/info.php/Vertical-Text_t15636.html#102714"]develCuy[/URL] posted on Apr 29 2007, 11:02 PM. [ICODE]<html> <head> <style type="text/css"> .verticaltext{ font: bold 13px Arial; position: absolute; right: 3px; top: 20px; width: 15px; writing-mode: tb-rl; } </style> </head> <body> <div … | |
Re: [QUOTE=ytregnn;984996]Didnt work :( It's like a table within a table. I have one table with to colums, then inside the second column I have another table - I'd like to have that table positioned within the column somewhere in between left and center.[/QUOTE] Your table row width is = 410px; … | |
Re: [QUOTE=itisnot_me;983230]is it possible to[COLOR="Red"] run a command in javascript when someone paste text into a textarea[/COLOR]? What i am trying to do is make a [COLOR="Red"]remove format command[/COLOR] in the text editor run when they paste. And if it is possible make it run the command on the text without … | |
Re: [QUOTE=Sereal_Killer;984608]hmm is there an edit button? anyway i changed my code a bit to using event listeners but i still cant get the Id to appear in the alert i get either HTMLElement or something like that in the alert or i get an empty alert box anyone know what … | |
Re: [QUOTE=jazzycontact;985524]hi i don't know it is wright place for it or not. i am new in javascript programming. i am try to implement find and replace functionality. in it i want to search keyword in particular div only. not other part of the page. i have implement following code . … | |
Re: [QUOTE=Mapper99;984047]I have created a PHP page using CSS for styling. It looks great in IE. However, in Firefox, it is just a mess. Here is the link to the page: [url]http://www.laudontech.com/temp/pceditor.php[/url] Any ideas? Should I develop for Firefox, then try and fix for IE? Or, the other way around? Thanks … | |
Re: [QUOTE=martyna;982314]The essential things you need to get your own site online are: - A website building tool - A domain name - A web host[/QUOTE] You'll need to have: - A Reason to do something like that; - A content-thing really worthed exposing there; - Real Money, or: personal skills … | |
Re: [QUOTE=Altairzq;982908]Hello I'm using this code I got from an example: [ICODE] <head> <TITLE>Creating a link</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function createLink() { var szURL = prompt("Enter a URL:", "http://"); if ((szURL != null) && (szURL != "")) { document.execCommand("CreateLink",false,szURL); } } // --> </SCRIPT> </HEAD> <BODY> <H1>Creating a link</H1> Here's some … | |
Re: [QUOTE=sassenach;981414]Hi, I am using PHP & mySql to grab the title and description that I have stored in a table in the DB. I am trying to dynamically change the <head> <title></title>, as well as <meta name="Description" content="" /> . [/QUOTE] That's lots of coding ahead... [QUOTE] I used document.title … | |
Re: [QUOTE=--min;981973]Hi, I'm new to the forum and have just come across this issue when testing my site for the first time in Internet Explorer (I normally use Firefox). In IE, the 3x3 table renders with the two images in Row 3, Col 1 and Row 3, Col 3, both sized … | |
Re: [QUOTE=mvchandoo;981436]I had problem with mouse out in div. i tried for one long day in vain. can any one do it. it was an urgent issue.Thank you in advance. the code is... [/QUOTE] [COLOR="Red"]That's because you are creating a [B]situation[/B] of infinite "mouseover" event occurrence. [/COLOR] | |
Re: [QUOTE=geryzone;980716]Hello! I'm having trouble with the CSS of this liquid (flixible ) layout. The problem occurs only in IE7. Whenever I decrease the size of the browser the #eventsListing (6 images) drops under #content (text/copy). [/QUOTE] That's exactly what the content should do when there isn't enough space to fit, … | |
Re: [QUOTE=jeffherron;980937]Check out this page in Firefox or Chrome: [url]http://minorityrecruitonline-com.si-vs1222.com/college/Default1.aspx[/url] Now check out the same page in IE8. I have tried everything to get them to appear the same in both browsers, but no can do. Any ideas from any HTML gurus out there?[/QUOTE] I've just visited your link with my … | |
Re: There's nothing from this code that should appear in neither of them. The code is fine - but are you sure you know what are you calling with that script and what does it do? Or at least why are you injecting alien script source in your page? | |
Re: have you at least tried after newRow = row.cloneNode(true); to newRow.setAttribute("id", 'theDesiredID'); or better: newRow.id= "stringID"; ? | |
Re: -did that work in opera? | |
Re: Most probably you don't want to have DirectX neither, nor maybe any OS installed at all, for that matter. But computers need software in order to operate! Without it, they're as good as furniture, even less. Bye the way, it is impossible to tell if there is a single sentence … | |
Re: [QUOTE=scorpx;965022]I wanna make all tr to link. use this code <a href="http://www.google.com/ " target="_blank"> <tr> <td>google</td> <td>bla bla</td> <td>bla bla</td> </tr></a>it works in IE but don't work in firefox and chrome ? is there any idea ? Thanks...[/QUOTE] Your code works fine on my firefox 3.5.2 /windows OS, - what … | |
Re: [QUOTE=genesistr;965283]i write to create <embed> object using document.write but as i read document.write isnt supported by our middleware yet and im trying to find different ways to load and play sounds. can you tell me how to load and play sounds dynamicly?[/QUOTE] Put the <embed> element in your code - … | |
Re: [QUOTE=cab_driver;959582]I have a page set between frames that has a table with two columns: the left column has an image fixed in one position and in the right column is text (with images). When the window is at 100%, it works, but if the window is dropped to 3/4 size, … ![]() | |
Re: [QUOTE=vairvixen;962027][code] <SCRIPT [COLOR="Red"]language="javascript" [/COLOR]type="text/javascript"> function swapImage(image) { var Map = (document.getElementById) ? document.getElementById('MapWest') : (document.images) ? document.images['MapWest'] : (document.all) ? document.all['MapWest'] : null; if(Map) Map.src = image; } </SCRIPT> [/code] [/QUOTE] Try to correct that one into this: <SCRIPT type="text/javascript"> function swapImage(image) { var Map = document.getElementById('MapWest') ||document.images['MapWest']|| MapWest||null; if(Map) … | |
Re: [QUOTE=becraig;957632]I am trying to change the display for some elements in an iframe eg: the iframe has the following link <a href="" onclick="window.parent.document.getElementById('element').style.display = 'none'"> however it does not seem to be working, I am trying to figure out is there a way to do this.[/QUOTE] Your question is kinda … | |
Re: Sorry but there is no such event [maximize/ minimize/restore] event monitored by any existing browser until now. But there is the [B]onresize[/B] event that will fire on those occasions too. Therefore you can use [B]window.onresize[/B] as a generic maximize/ minimize/restore event monitor. But there's no way you can cancel it, … | |
Re: Interesting ... It works on IE6 supporting javascript up to version 1.3 only! But it fails on FX v3.5.2 supporting javascript 1.5, and reporting to support javascript up to version 1.8. I am puzzled??? (Works in Opera also)... | |
Re: [QUOTE=kilahcup;959952]Is there a CSS methodology that makes a particular color transparent? And if there is, will it work on images? For example, let's say I want to make all the white in a cell or a div transparent, as well as the white bits of an image contained in said … | |
Re: [QUOTE=daved83;959032]Hi everyone, I hae created a dropdown menu using ajax where each option is populated dynamically based on the previous choice. It works great on Firefox thanks to help I got on this forum. It doesn't work on IE however. I believe this is because IE doesn't recognise the innerHTML … | |
Re: For a start, -that's because there is no container element with ID "page-nav" in your html content. And that "#page-nav" css selector is targeting contained list-items on nonexistent element. | |
Re: You should correct your HTML errors first | |
Re: lol you have to many assumptions. I'd like to know: Since when are you able to resize the backgound images? 'Cause this is all news to me! Last time I used png as a [B]background image[/B] I did it this way: [icode] #pngImage { background: #C01013 url('Image.png') center no-repeat; height: … | |
Re: that's because you are doing it the wrong way, -it is the div2 who should have its margins set to auto and there should be no float. -Here, try this: [icode] .DIV1 { width: 100%; height: 70px; } .DIV2 { margin: auto ; display: inline; text-align: center; width: 80px; }[/icode] | |
Re: [CODE][B]<p><img src="picture.gif" [COLOR="Green"]style="float:right"[/COLOR]>[/B]then add my text, but it only seems to allow one line of text, then everything else drops beneath the image. I've looked at various sites and they all say that this is how it's done. Does anyone els have a suggestion?[B]</p>[/B][/CODE] | |
Re: [QUOTE=Reliable;942345]Hey Everyone, I want to replace the following code with it's DIV equivalent. [ICODE]<body> <div id="container"> <div id="header"> <table width="901" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" style="padding-left:20px"><img src="images/thinktankname.png" alt="Think Tank for African American Progress" /></td> </tr> <tr style="padding-bottom:20px"> <td style=" padding-right:10px"><img src="images/thinktanklogo.png" alt="think thank logo" /></td> <td><img src="images/thinktank.jpg" width="657" height="194" … | |
Re: stay away from that site and block them. few notes on interclick.com [url]http://google.com/safebrowsing/diagnostic?site=interclick.com/[/url] i suggest you block these addresses: [url]www.interclick.com[/url] a1.interclick.com campaigns.interclick.com ad.interclick.com there should be more .... | |
Re: > First, let me say that I'm an amateur with HTML and web design so please try to keep your explanations as blunt and frank as possible. Thanks in advance! > > I'm wanting to have a repeating background image behind another fixed, non-repeating image. > > This is the … |
The End.