My issue is simple.
I have already implemented a tab system, and I'd probably spend more time implementing another one with the solution I need, than giving a shot at adapting the code I have, and learn something while asking :)
My problem is that the tabs can't be linked to, I need to be able to link to a tab from another website or p...
Hello,
I am trying to make a 2 column layout, apparently the bane of CSS. I know you shouldn't use tables for layout, but I've settled on this CSS. Note the use of display: table etc.
div.container {
width: 600px; height: 300px; margin: auto;
display: table; table-layout: fixed;
}
ul {
white-space: nowrap; overflow: hidden;
...
In HTML, I have an object tag as follows:
<OBJECT ID="objectid" CLASSID="some-class-id" CODEBASE="some-codebase">
I have written a function in JavaScript to access this object.
I checked the null value as follows:
if(objectid==null){-----}
i want to check if the object is undefined or is empty. Do we have any functions to check s...
For example,
<html>
<body>
<img id="pic" src="original.jpg"/>
</body>
</html>
In Javascript (jQuery):
$("#pic").attr("src","newpic.jpg");
Now, is there a way to reset #pic's src to original.jpg without explicitly setting it as $("#pic").attr("src","original.jpg");?
...
Hi all,
I need to load HTML and parse it, I think that it should be something simple, I pass a string with a "HTML" it reads the string in a Dom like object, so I can search and parse the content of the HTML, facilitating scraping and things like that.
Do you guys know about any thing like that.
Thanks
...
On this website: http://fa-aft6157.org/ , when viewed in IE8, when you hover the mouse over the links on the left they appear at the top of the page. How can this be fixed in the HTML code?
...
Yes, I know the title sounds a little suspicious. I will try to explain this the best I can...
The code below is supposed to have the blue div slide down beside the red div. (Directly to the right - using the position() utility of jQuery UI) The first time you hit the Show the div button, it works. Also, the Hide the div works.
Then wh...
Hello, I have looked for months now, for JavaScript-based HTML editor I can embed onto my web pages to replace a TEXTAREA, but to enable me to edit CODE in a friendly, closer to a real editor, way. All editors I've tried (RadEditor from Telerik, FCKEditor, TinyMCE, etc etc), do not trap the TAB key, very useful when editing HTML code ont...
Hi
Step 1
I've two screens one is parent and the other one is child.
On click of a button in the parent window the child popup will open.
Step 2
On click of a button in child i'm displaying the html(viewsource) of parent window in a textbox(.net) and holding in a hidden variable hdnSource too.
Step 3
I've 4 checkboxes in the child ...
A web page contains lots of image elements:
<img src="myImage.gif" width="180" height="18" />
But they may not be very well-formed, for example, the width or height attribute may be missing. And it also may not be properly closed with /. The src attribute is always there.
I need a regular expression that wraps these with a hyperlink...
Hi,
I deployed a Wicket-based app's .war file to Jetty 7.0.2. The problem is that Jetty copies the classpath to a temp dir, but only copies *.class, so *.html is not available for the classloader and I get the error:
WicketMessage: Markup of type 'html' for component 'cz.dynawest.wicket.chat.ChatPage' not found.
Copying the war as an ...
Is there any way to make only a non-transparent portion of an image to trigger mouse-over event?
If the mouse travels to the transparent area, the mouse-out should be triggered and the script should listen for any mouse-over event on a layer underneath the image.
Is it possible? Thanks for any input.
Edit:
I am looking to do this with...
I have multiple input textboxes in my page. I want to reset particular text box to its onload state if certain conditions fails.
I am considering using a Hidden element to store the onload state of the textbox. I would other suggestions or solutions to resolve this issue.
...
Hi, I created a menu in html/css but where I wanted the subitems to be shown on parent item hover. The problem is when I hover on it in IE it only shows it's subitems when I hover on the text in the menu item, If I hover over the element and not the text the subitems disappear again. So if I hover and want to move my mouse to my submenu ...
Hi,
I have run into a really odd bug with FF3.5.9 (and potentially lower) where it is moving the input:text below the input:submit. The strangest thing with this is that it is working on IE6/7/8, Chrome, Safari and Firefox 3.6. Here is a test page so you can see how it is marked up: http://paste-it.net/public/s6479e6/
I can fix the i...
I get lots of validation errors because of <br /> inside <p>. If I remove the br tags then it works fine.
Why is it creating a problem?
...
I did looked at this question, but the asker didn't got any reply. Still, I'm giving it a try.
I want to embed a video file on a html page. The code works fine on IE but doesn't work on firefox.
The code:
<object id="WMPlay" width="640" height="480" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsof...
I've created a simple menu and submenu with tags(not allowed to use ul elements). To access the submenu the user hovers their mouse over the menu item. I use the onmouseover and onmouseout events to either show or hide the sub menu depending on which item is selected.
A pipe (|) is used to seperate each submenu item and this is what is ...
I have a piece of html/javascript written in jQuery at http://pastebin.com/MzMPjtvF
My issue is the divs with images in them will only show up until $('.platform').hide() is ran, to the point that those divs won't even show up in $('.platform'). I'm not sure if its a bug or my lack of knowledge of jQuery
...
I'm looking for a feature somewhat like the vertical red 80 columns marker in NetBeans but one that's easier to use. I'd like it to function more like the tabs in MS Word except that the horizontal line is displayed on the entire file. I looked on the Comparison of Text Editors over at Wikipedia and I didn't find that "vertical ruler" ...