html

javascript parent question

If I have a page with an iframe on it, then there is another iframe in that iframe, do I have to use parent.parent to reach the top frame or is there a shortcut to the page "root" that would be equivalent to parent.parent; or parent.parent.parent for that matter.. you get the point. ...

Centering Text and images within a DIV, and more.

So i have a couple of tag, and i have some text and images i'd like to center or align to the bottom inside of them. Vertical-align doesn't seem to be in the mood to work. I'd also like to make a horizontal menu, which will have a start image (say, menutop.png), a filler (menubg.png) and a closing block (menubottom.png), and i'd like f...

Is there a script somewhere that can scrape hotmail web page for simple things like unread count?

Is there a script somewhere (doesn't matter what language although it would be best if it can run on linux) that can fetch for simple things from the hotmail/live mail web page? Of course the main motivation for this is that hotmail does not allow for IMAP access and their pop access is limited to 15 minute check and YET still does not p...

html - div, minimal size

Hello, how can i set minimal height for div? But it have to resize with new data. ...

Find file size with jQuery

I was wondering if there was a way to use jQuery to find out the file size for a PDF that i'm linking to a webpage. I want to make it so that on hovering over the download link, a modal box pops up saying the file size of the PDF. I can do the second bit, the only thing i'd like to know is how to find out the file size. I dont know if ...

Internet Explorer not really befriending my iframes

Simple question, basically i have an iframe that shows some content, and thus far we are pretty much on track with all browsers. Problem is that in Internet Explorer, it won't display characters such as "Å, Ä and Ö", no matter what charset i use. Is there any quick way to fix this? Cheers. ...

DIV behave like an IFRAME & load url using ajax

DIV behave like an IFRAME & load url using ajax for a web application having many forms/web pages loading each form/webpages dynamically ...

IE6 CSS Hover issues with menu

Hi folks, I have a CSS hover menu which works in all browsers except... surprise -- IE6! #menu_right ul li:hover ul { visibility: visible; } This ul is hidden initially, obviously. When I hover over its parent li, it should show up... but it doesn't. To try to pinpoint the problem, I've tried making the ul initially visible and had...

lightest WYSIWYG javascript editor

Hi, what is the lightest WYSIWYG HTML/Javascript editor. I don't really need it to have many functions, but just the basic such as changing fonts etc. TinyMCE seems a bit slow loading for me :( ...

How to make a C# whitelist/BlackList

I want to check the HTML tags the user is using in a rich html editor I have. I am not sure though how to do this in C#. Should I be using Regex and what HTML tags should I be blacking listing/white listing? ...

Zend Framework create project error

I am new to the Zend Framework. I read the Zend Framework document. Here I saw to work Zend Framework must include the path in my php.ini, I believe that this is done because in my php info I saw include path is C:\www\zend_frame\library Also in document it says that to create a project I must run: C:\> zf.bat create project quickstar...

Cross domain popup window with return value

This is the setup: I have two websites on two different domains: www.website1.com www.someotherwebsite.com This is what I want to do: When a user is on www.website1.com and clicks a link, I want a window to popup showing www.someotherwebsite.com. When the user clicks a button in the popup window (showing www.someotherwebsite.com) ...

Multiple displays of the one image file on a web page = multiple http requests to the same file???

If I display abc.jpg 20 times on a web page, does loading of the web page cause 20 http requests to the abc.jpg? Or it depends if I am using relative or absolute paths? Thanks ...

How can I get value of element custom attribute with Watir

I have HTML that looks like this: <input custom_attribute="so cool" type="text" /> I would like to get value of custom_attribute using Watir. ...

jQuery toggle changes element's width? I don't want it to! :(

Hi guys, I currently have a table that has a width of 94%, and the following toggle set to it: $(document).ready(function(){ $("#moreinfo").hide(); $("#toggleinfo").click(function () { $("#moreinfo").toggle('normal'); }); }); It toggles fine, but as soon as you toggle, the width goes really small and I have no idea why...

HTML and CSS in Qt4 (which) widgets?

Can somebody tell me where in Qt gui can I use HTML? Which widgets do support HTML? Or more specific: why HTML doesn't work in QTreeWidgetItem and QTreeListItem? I'm trying to make some of the text in QTreeWidgetItem italic or different colour and I can't do it with HTML, it is not interpreted at all, I just see HTML code in tree ite...

curl in Xamp required

hai i installed the magento in my Xampp but i got an error message blow PHP Extension "curl" must be loaded How to load curl in XAMPP ...

Change URL location on CURL requests?

Hi, I have a page that is making an XML POST-Request to an URL on a different server (e.g. "http://wwww.externalserver.com/login"). This server is sending plain HTML as response. The problem is, that the URL shown in the browser ist still on my local server, let's say "http://localhost/callExternal.php". The external URL is redirecting ...

Move HTML Canvas by javascript

Hi! I'm trying to copy element from one in my page to another (via javascript). It's successfully copied but appeared empty. How to copy/move canvas with content? ...

Why does this jQuery fail to load/parse my HTML string?

jQuery.get(window.location.href, function(data) { alert(data); alert($(data).html()); }); The first popup is all the HTML good and healthy. The second popup is blank. Why? (the HTML is XHTML compliant) ...