558 Posted Topics

Member Avatar for MDanz

The "valign" property does not propagate from the parent to its children children! Try testing that scenario of yours with static HTML first. This way you can see where lies the problem. But from where we are the problem is: the image nested in the div element. The td valign …

Member Avatar for SKANK!!!!!
0
146
Member Avatar for vsource

try alerting "i" at the end of the loop and tell us what's the value of it if it is 110 as opposed to 62 items displayed your loop is skipping - pre counting during if(st=='') conditional.

Member Avatar for Troy III
0
59
Member Avatar for mcrawford3911

This can make it 333 Test this code in your addresbar: [CODE]javascript: alert(333.33333.toFixed())[/CODE] implement it if you like it. You can also do things like: 3215.3248566432.toFixed() //gives you [3215] 3215.3248566432.toFixed(1) //gives you [3215.3] 3215.3248566432.toFixed(3) //gives you [3215.325] 3215.3248566432.toFixed(4) //gives you [3215.3249] etc

Member Avatar for Troy III
0
86
Member Avatar for tiffinlar
Member Avatar for Troy III
0
282
Member Avatar for rudz
Member Avatar for wonderland

You'll need a server side solution for this, try this link for a start [url]http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=189[/url]

Member Avatar for wonderland
0
116
Member Avatar for lifeworks

of course, thats because your border doesn't have a color for you to see it, you sould set the bordercolor also. Or assign a previously defined class instead. it keeps things cleaner.

Member Avatar for lifeworks
0
135
Member Avatar for dalefish

[QUOTE=dalefish;912755]As usual, develop something in FF and as soon as you get near IE everything decides to pack up and go home. I'm getting an object expected error, forgive me if it's simple, I'm new to JavaScript. [B]HTML Code[/B] [code=html] <div id="tabsCon" class="tabsContainer"> <span id="tab1" class="activeTab" onclick="javascript:changeTab('tab1');">Tab 1</span> <span id="tab2" …

Member Avatar for Troy III
0
272
Member Avatar for expertotech

Expired or Illegal copy perhaps?! "Sorry, the Windows 7 RC is no longer available for download. The general release version of [COLOR="Red"]Windows 7 will be available on[COLOR="Green"] October 22,[/COLOR] 2009."[/COLOR]

Member Avatar for expertotech
0
143
Member Avatar for Dat0

[QUOTE=Dat0;1012277]Hi! I read that IE 8 accepts child selectors. But it does not seem to work for my IE8 (Spanish version if this even matters). [CODE] #div > p{background-color: blue;} ======================== <div id="div"> <p>Shoud work here!</p> <div> <p>and not here</p> </div> </div> [/CODE] It works for firefox and not for …

Member Avatar for MidiMagic
0
106
Member Avatar for Kruptein

[QUOTE=Kruptein;1010901]In my browser(opera), my background image takes up the full height off the screen, but on my friends(firefox) there appears a large black banner beneath it (black because that is the bgcolor) I give you the css hopefully you guys can help me. [code=css]body { color:#C00; background-color:#000; background-image:url('../background.jpg'); background-repeat:no-repeat; background-position:top; …

Member Avatar for MidiMagic
0
110
Member Avatar for digtokiller

[CODE]<OBJECT id="VIDEO" width="320" height="240" style="position:absolute; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="your file or url"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="True"> <PARAM name="uiMode" value="none"> <PARAM name="PlayCount" value="9999"> </OBJECT>[/CODE] [CODE]obj = document.getElementById("VIDEO"); [/CODE] [COLOR="Green"][B]SCRIPTING[/B][/COLOR] control Code Parameters Description [INDENT][B]obj.Settings.autoStart[/B] [COLOR="Green"]true[/COLOR] Specifies or retrieves a value indicating whether the current media item begins …

Member Avatar for digtokiller
0
200
Member Avatar for leesyy

check this thread: [URL="http://www.daniweb.com/forums/thread227303.html"]Dynamic population of drop down list[/URL]

Member Avatar for jasstion
0
165
Member Avatar for anand4160

[QUOTE=anand4160;1011757]CSS and HTML file is attached in mail. Plz see attachment[/QUOTE] I think that you are not understanding the issue here. For so many years, people, not even knowing the meaning of the word, has been yelling and shouting "standards - standards!" ecessively and for so long that it makes …

Member Avatar for Troy III
0
2K
Member Avatar for nilusara

[QUOTE=nilusara;1012556]in my web server all pages i develop targeting internet explorer browser but other browser can open it but not view properly.therefore i need to forcefully open it in internet explorer.if user open it in other browser than IE it gives a message box saying "The site is best viewed …

Member Avatar for Troy III
-1
285
Member Avatar for Ghodmode

[QUOTE=Ghodmode;1010916]Is it possible to iterate through an anonymous array of strings with a for loop? Here's what I'm trying to do:[code]for ( i in ['country', 'city', 'state'] ) { doSomethingWithString(i); }[/code] What I want is the string, but what I'm getting is the index number of the array, which I …

Member Avatar for Troy III
0
1K
Member Avatar for swthurmond

please write your select list and populate it manually as an example so we can have some idea on what you seek, in fact to have something we can refer (to and from) in our possible explanations that might turn up. Are you sure you want them in a drop-down …

Member Avatar for swthurmond
-1
872
Member Avatar for optikali

[QUOTE=optikali;1012076]I am trying to put up a rope border (border.png) on the sides of my center box of text. Text will work with z-index properly, but the border just will not show. Any ideas? style.css = [CODE]* {margin:0px;padding:0px;top:0px;left:0px;} body{ text-align: center; background: #000000; } #central{ margin-right: auto; margin-left: auto; margin-top: …

Member Avatar for Troy III
0
224
Member Avatar for fatihpiristine
Member Avatar for hajjo

Tis is the most reliable method when checking for authentic mozilla browser editions. [CODE]javascript: if(document.body.style.MozAppearance==""){ alert('mozilla')} //b.b. Troy III p.a.e.[/CODE] you will get the alert box only if you are rruning one of mozillas editions FX Flok etc. Or perhaps even better reliability by going this way: [CODE]javascript: if("MozAppearance" in …

Member Avatar for Troy III
0
62
Member Avatar for bvaz
Member Avatar for cmills83

[QUOTE=cmills83;1011191]Hi I have a page with a bunch of divs set to display:none with 70kb background images. As buttons are clicked the divs are displayed. The background images are specified in an external stylesheet, pc firefox, mac ff, mac safari and every real browser ignors them until the div is …

Member Avatar for Troy III
0
105
Member Avatar for daviddoria

[QUOTE=daviddoria;1009719]Is there anyway to get images to be the "correct" size - i.e. fit the width of the text? This is what currently happens: [url]http://engineeringnotes.net/personal/pictures.shtml[/url] Thanks, Dave[/QUOTE] So you want them to be looking something like this (see attachment image)? Add this line in your [COLOR="Green"]CSS[/COLOR] [CODE]#main img {width:100%}[/CODE]

Member Avatar for Troy III
0
134
Member Avatar for dipunm

you've placed heavy block elements inside inline tags -that is: links! You say your code is validated - but seeing this I don't quite believe that. + -Are you hosting advertisements in your pages through iframes and similar?

Member Avatar for dipunm
0
111
Member Avatar for gaz

[QUOTE=gaz;1010309]hi my navigaion keeps on moving onto a new line and i cant seem to stop it. i have tried all that i can think of. thanks [CODE] body{ height:100%; width: 150%; margin:0; } #nav{ clear:both; font-weight:bold; color:black; margin-left:4px; [COLOR="Red"] float:left;[/COLOR] list-style-type:none; background:url(navshadow.gif) no-repeat 8px 100% #fff; [COLOR="Red"] width:100;[/COLOR] padding-bottom:21px; …

Member Avatar for Troy III
-1
110
Member Avatar for terri1210

[QUOTE=terri1210;1009336]I have an issue with my css ul menu bar not displaying AT ALL in IE 7. Works perfectly in FF, IE 8 and Safari 4. Displays but not correctly in Safari 2. Can someone take a look at the code and give me the necessary fixes? [/QUOTE] These are …

Member Avatar for Troy III
0
178
Member Avatar for decimo
Member Avatar for terri1210
-1
2K
Member Avatar for rajeesh_rsn

[QUOTE=rajeesh_rsn;1007327]Hai Friends, I am designing a CSS based website, Well in that I need to adjust 3 div inside a main div as in the form of a table cell. Like this ====== Parent Div =================== |||Child Div1 |||--|||Child Div2 |||--|||Child Div3||| ================================== I had the code like this CSS …

Member Avatar for js112
0
150
Member Avatar for Altairzq

[QUOTE=Altairzq;1002334]Hello all. I have a mootools accordion in the website I'm building that uses two [U][B]classes: [/B]"toggler" for the titles and "element"[/U] for the content. I'm in the need of adding an input field at the bottom of the "element" DIV that the user has opened. Problem is, every content …

Member Avatar for Altairzq
-1
124
Member Avatar for black3

[QUOTE=riteshdalvi;1008882]I want to convert wav file into bytes and then read it..plz can you help me to implement this using C#..i would be very thankful for your cooperation..I'l be presenting my proj in few days so i need to implement this as soon as possible.[/QUOTE] Well... I'm sorry to have …

Member Avatar for Troy III
0
167
Member Avatar for zorro-az

Hi, there. This is some very old script, rigid and extremely interdependant This script will stop functioning as soon as file naming convention is broken. Meaning that it relies in things not supposed too. I will try to comment it line by line for you: [CODE]<html> <head> <title>A More Effective …

Member Avatar for Troy III
-1
224
Member Avatar for matthewl

[QUOTE=matthewl;1008743]I get an error (Object doesn't support this property or method) on 56. In Internet Explorer and I would like to try to keep it cross browser compatible. This is the source of the function: [CODE=javascript]SM.Util.prototype.constructor.Notify = function(txt) { [COLOR="Green"]chat = document.getElementById('chat'); [/COLOR]//this is line 56 and chat is a …

Member Avatar for Troy III
0
151
Member Avatar for DarkChao

[QUOTE=DarkChao;1007747] function deleteObject(id) [/QUOTE] continue that line with this: [CODE] { id.parentNode.removeChild(id); }[/CODE]and you're done. (assuming you've already stored the targeted element in your "id" var globally), otherwise you should invoke your function this way: [ICODE]deleteObject(document.getElementById("elementId"))[/ICODE]

Member Avatar for Troy III
0
71
Member Avatar for kosofi

[QUOTE=kosofi;1008252]need to read and write to xls (excel sheet) using javascript read and write should be to specific cell in that sheet if its possible , please help do it thanx .[/QUOTE] you will need Exel activeX object for this. This is a demo code from MSDN: [CODE]var ExcelApp = …

Member Avatar for kosofi
0
141
Member Avatar for Snehap

[QUOTE=Snehap;1007859]Hi, We are developing the websites. In some of the website we are facing the problem like vertical scroll bar is not appearing in some of the versins of IE7 (Ex : IE7.0.6001.18000). This might be a problem in the css but exactly we dont know what is the problem …

Member Avatar for Troy III
0
81
Member Avatar for pmcd9

First: this is not your code (it says its from Dynamic Drive)! Second: I don't understand your question!

Member Avatar for pmcd9
-1
123
Member Avatar for sevensamurai

[QUOTE=sevensamurai;515804]FINALLY found the answer after an hour of searching Google. For anyone else that wants to achieve what I was trying to do but doesn't know much of anything about Javascript, I added THIS to my existing onClick for the element that I wanted to stop its mouseout: this.onmouseover=function(){}; this.onmouseout=function(){} …

Member Avatar for Troy III
0
1K
Member Avatar for stymied2

[QUOTE=stymied2;1005153]I need to recreate the attached image in HTML so that it can be converted into a PDF dymanically using software that the client has. I created a gif with a triangle-shaped transparency which lets the varying sizes of green, yellow, and red bars show through underneath. The bars vary …

Member Avatar for stymied2
0
91
Member Avatar for MDanz

[QUOTE=MDanz;1002880]hello, i echo this [CODE] echo "<td ALIGN='center'><div class='rollover'><a href='http://www.tsfdgdg.com/search.php?search=$stackname' style='text-decoration: none';> <table border='0' celpadding='0' cellspacing='0' id=\"point\"> <tr> <td [COLOR="Red"]width='100px' height='101px' [/COLOR]ALIGN='center'> <font size=3 font face=Arial font color=white><b>$stackname</font><br><font color=orange font size=2>$posted</font></b> </td> </tr> </table></a></div> </td>"; [/CODE] here is the css code [CODE]<style type="text/css"> .rollover a { float: left; [COLOR="Red"] width: …

Member Avatar for Troy III
-1
140
Member Avatar for hajjo

[QUOTE=hajjo;1004948]on firefox its working. on ie it gives me error on page.. how to solve it?[/QUOTE] If you are talking about "window.onload" I assure you -that's impossible! You have problems with your function assigned to it somewhere else, but not with the "window.onload" event. -check the function!

Member Avatar for Troy III
0
52
Member Avatar for nazarahmat

[QUOTE=nazarahmat;1002448]i have html files at C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. the html files is in my hard disk. then how im going to called the html files to be an input in my javascript coding.someone please help me[/QUOTE] the quick answer is: "you can't!" Javascript is not allowed to mess around …

Member Avatar for nazarahmat
-1
135
Member Avatar for becraig

[QUOTE=becraig;991767]I have a question I am have been googling all day with no examples I can use and need to come up with something. I want to have a Javascript session timeout which does it's own internal countdown ie: 5 mins left before your session expires etc I then would …

Member Avatar for becraig
-1
141
Member Avatar for edDev

[CODE]<html> <head> <style type="text/css"> <!-- .fontStyle { font-family: Verdana, Geneva, sans-serif; font-size: small; font-weight: bold; color: #67A2DC; } --> </style> <script type="text/javascript"> window.onload=function(){ loadVideo(); } function loadVideo() { if (parseInt(navigator.appVersion)>3) { if (navigator.appName == "Netscape") { winW = window.innerWidth; winH = window.innerHeight; } if (navigator.appName.indexOf("Microsoft") != -1) { winW = …

Member Avatar for edDev
-1
1K
Member Avatar for virtualmisc

[QUOTE=virtualmisc;1001752] [B] How do i stretch my [COLOR="Red"]background [/COLOR]image? [/B] [/QUOTE] You can't! W3C doesn't give you any means to manipulate background image dimensions. The only browser providing means for this is still IE 5++

Member Avatar for Troy III
-1
100
Member Avatar for smadamij

[QUOTE=smadamij;1001614]I think its just a case of placing an index.htm file in a folder called about? Is this corect or am i completely wrong? [/QUOTE] As you might have realized from previous explanations... No! - you are in fact [B]correct![/B] :') Regards.

Member Avatar for Troy III
-1
106
Member Avatar for Ariel_medel

[QUOTE=Ariel_medel;1001511]I have this code to open a new window and pass a div's content into a div in the new window: [code] <script type="text/javascript"> var changeIt, print_div; changeIt = function() { print_div = document.getElementById("sec_content").innerHTML; newwindow=window.open( 'targetpage.html', target="_blank" ); setTimeout('newwindow.document.getElementById("print_content").innerHTML=print_div',100) }; </script> [/code] but for some reason it's not working online …

Member Avatar for Ariel_medel
-1
161
Member Avatar for cguan_77

[QUOTE=cguan_77;997517]hi ShawnCplus, thanks for the help it's working, but i just get some little problem..i made like this: [code] <STYLE type="text/css" media="screen"> div#topfix { margin-top:400px; position:fixed; } </style>[/code] and on the html page.. [code] <div id="topfix" > <A href="#pagetop">Top of Page </A> </div>[/code] but why if i give a value …

Member Avatar for cguan_77
0
92
Member Avatar for MJ Pieterse
Member Avatar for Troy III
0
153
Member Avatar for Pleasant Day

can you please first explain to us why would you want 5 different scripts in the same page doing exactly the same thing?!! That is - displaying time!

Member Avatar for Pleasant Day
0
157
Member Avatar for CS_Swan

[QUOTE=CS_Swan;998110]please do not delete this post even though there is a link.. I have been asked to take a look at this site and evaluate whether any programmer could duplicate it .. so I am asking you all to let me know if you could duplicate the magnify functionality of …

Member Avatar for Troy III
0
92

The End.