html

Height of the div respective to other DIV

Hi I have DIV structure something like this. <div class="leftCol"> Left Col Content </div> <div class="rightCol"> Right Col Content </div> I want to calculate the height of the right col. and that height to Left col. ...

Frameset frame cached by Firefox

Hi, I have a html page which contains nested frameset (don't ask why, I'm only servicing the app ;) ). What bothers me, is why FF caches Header.htm file constantly. I had to use clear cache to force browser to download it again. ctrl+f5 didn't help. <frameset rows="68,*" border="0" frameborder="no" framespacing="0"> <frame name...

How to position a span inside a headline tag?

I'm forced to find a solution for the following situation: I have a h1 tag, like this: <h1 style="text-align: left">FOO FOO FOO<span class="h1subSpan">FOO 1 Foo 2</span></h1> The result should be like the following: FOO FOO FOO this space is invisible and achived through floating Foo1 Foo 2 This solution works with FF, Opera and IE8...

Table changes depending on dropdown list values with servlet

What I want to realize is the following: In a JSP x I have a 3 dropdownlists and a button called edit when user click this button a table dynamically should be displayed. Now this table is modified correponding the values in those 3 dropdownlists. So it can be 3 cols or 4 cols or even 6 cols, it depends on the selected values. So what I...

Visibility attribute question

What is the difference between $("#myid").attr("style", "visibility: hidden") and $("#myid").css("visibility", "hidden") ? ...

How to add a background to text only ?

I have a background image on top of which there is some text. It is very hard to read the text because of the background. I would like to add a white background just around the text itself, such that the text could be easily read. How can I accomplish this using CSS/Javascript/jQuery ? ...

fill form via popup

Hi, I have a form and some fields on the form want to be filled via a popup. My popup basically contains 3 text boxes. After clicking submit on the popup how can i transfer the values of the text boxes to the main form? Any ideas? Thanks, ...

how to make a div to be center in html

hey guys , one simple way to make an object center in html is using align='center' but belive its not working for a div i used these methods ": style='text-align:center' style='left:50%'; even i use center tag <center> but i couldnt make my target div to be center what way u suggest ?! ...

HTML Frameset Query

Hi I have the following code for framset display <FRAMESET ROWS="18%,*" > <FRAME SRC="./views/Title_Page.html" NAME=TITLE SCROLLING=NO MARGINHEIGHT=1 noresize="noresize"> <FRAMESET COLS="20%,*"> <FRAME SRC="./views/Navigation_Page.jsp" NAME=SIDEBAR noresize="noresize" scrolling="no"> <FRAME SRC="./views/Welcome.html"...

How to change the font size in table cells according to cells content ?

I have an HTML table which has incrementing numbers starting from 0 in its cells (left to right, up to bottom). I fixed in CSS the width and the height of the cells (40px width, 25px height, in my case). When the table becomes larger, the numbers inside it becomes large also (for example, the last number is 1266356). This causes the ce...

open current page in new window including query string

First of all, I am a total dud at all things related to web developement, so please bear with me here. I suspect this question is laughable for the web guys, but unfortunately I can't figure this out. Here goes: I have an application, that does some processing, writes some result files and then displays the results in an embedded IE bro...

Problem keeping CSS footer on bottom

Hey, I'm having trouble with a relative positioned footer. I'm using a clearfooter div to keep the footer at the bottom of each of my pages. This works fine for all resolutions except for 1440x900, any ideas why this resolution would make the header raise up 10 or so pixels off the bottom? CODE: http://pastie.org/929802 ...

How do you dynamically load different streaming F4V files into one SWF player?

Hi. I need to figure out how to utilize one SWF player/file to load different streaming F4V files dynamically. As it stands now, I have: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="500" height="314" id="something" ali...

How can I center an image in this kind of script?

I've tried various approaches, I've no clue how to do it without destroying the script or rescripting it all. Here's a link to the page: http://hem.bredband.net/noor/bildspelet.html You need to click the edit button on the top left, put 2 URLs to pictures, take these e.g. http://barcelona.magicka-evropa.cz/images/fc-barcelona.jpg http...

How to create html tag to access a specific control in a VB6 .ocx?

I have an Active X control that contains 2 user controls. My issue is I need to create a web reference on 2 separate pages for each user control. They are not related and I don't know how to call one user control independently from the other. Is there an attribute for the object tag to reference the user control name? ...

Opera: avoid wait cursor during img-src-refresh?

On a web page, I have an image continuously be refreshed by updating the src-attribute of the corresponding img-tag. This seems to work very well with a broad range of browsers. However, in Opera 10.51/WinXP/32, every time the image is updated, for a fraction of a second, the wait cursor is shown. It may confuse users. So, how do I get ...

Code Analysis for CSS, HTML and javascript

Can anybody point me in the direction of software similar to StyleCop for C# which can analyse CSS, HTML and javascript against sets of predefined rules / custom rules. For Example, css - to ensure camel case is used for class names html - to ensure inline sytles are not used javascript - not sure yet :P Ideally, tools which can ...

slanted design via html css and javascript ?

How can i achieve http://jdstiles.com/java/angledtext2.html this kind of angle(slant) using html , css and javascript. In design we have tabular structrer and by clicking on a tab the area beneath should refresh without reloading page (some thing like jquery or ajax). ...

Looking for nice Javascript/jQuery code for displaying large tables

I have an HTML table which may contain thousands of rows (number of columns is not a problem here). I would like to be able to browse this table easily and be able to do the following: Decide how many rows will be presented Jump to the next/previous X number of rows Scroll the table using the scroll bars to any desired line Be able t...

Clicks on a Flash / Silverlight object under a HTML overlay

Hi, is it possible to let clicks on a HTML element that's overlaying a Flash or Silverlight object bubble through to the Flash / Silverlight object? I've been experimenting with this, but i can't figure out if it is even possible because of possible security restrictions to prevent clickjacking. I don't have access to the source code to...