html

Passing data from page to page in PHP

Well, I have a new project, and I've not done anything like it before, but so far so good. I am in need of having to pass some data from one page to another, and there is no limit to the amount of data that gets passed. At first, I was thinking of POST-ing it, and then when each page loads, just grab the POST data, and store it in an ar...

CSS font-weight thicker than 900?

Hey, I have a panel which can be expanded or minimised through a vertically centred link with a < or > symbol as the link text. At font-weight: 900 this does not stand out much, even with a large grey background around it. I do not want to use an image and, at the current font size, both symbols currently take up the maximum width of th...

See dynamicly generated DOM and CSS

This address is has a console javascript that i build with a custom jquery plugin. I wan't to extract the exact DOM and CSS after i fill some commands into it. Since the CSS and the DOM is generated at Runtime, i'm unable to get it. So my question is, how can i see this DOM and CSS that is generated at runtime? Thank you very much. ...

HTML Table with scrollbar or select list with columns?

Hi, i wish to grab items from a database and put them in a fixed size 'container', which will have a scrollbar. How could i do this so that internally i can still have columns so different field lengths remain alligned within the table? Either i need some sort of select with formatted columns or i need a table which can be a constant he...

Flash/html not working on all browsers on Mac

I have been experiencing problems in using Flash on all browser on Mac.The same websites on Firefox,chrome,explorer work ok on Windows.the problem is just browsers on Mac and IE6. flash is here ; http://www.evateknoloji.info/Temp/CS4.html Has been anybody else been experiencing the same problem? Is there a solution? ...

PHP-page and HTML-form submits look so messy, how to avoid submits to SELF?

I have a classifieds webbsite, and users have the option to change / remove their classifieds. I am working on a "edit.php" page where all this can be done. Basically it is setup like this when you click on "edit/remove classified": A new page appears, with a form, where user may chose from "REMOVE" and "CHANGE" through radios. The us...

Remember password alert

This is more of an annoyance than a problem, but on all the login forms I have created over the years, none of them have ever asked the user in the browser if they want to remember password, what am I not doing? ...

jquery append html show hide in IE.

Hello All, I need help with displaying images from a MySQL database. What I have is a an Dynamic PHP/HTML table that has multiple pages with a pagination link. The table layout is: Book Title, Author, Publisher, Category and image. I can connect to database with connection script - working OK. I can see all the information for the table ...

How Do I mix colors using CSS?

Hey guys, I want to have a box with two colors with silver on top and it should slowly fade into white, just as Apple's homepage background. How do i do that? Thanks as always. ...

How to make form elements "remember" selection ?

I am using php to build a "change classifieds" page right now. I use Mysql as a db. Currently I use PHP to fetch all mysql information about the classified, and then I output it like this: $table.=" <select name='year' id='year'> <option id='2000' value='2000'>2000</option> <option id='2001' value='2001'>2001</option> ...

Appending text to a link on Rollover.

I have scoured the tubes to try and find a way to do this, but I just want to add a > greater-than sign to my link when I roll over it. I don't want to use images, I'm trying avoid tables, etc. See, I'm doing the front end, and I'm a back-end guy. So I understand the concepts, just don't put them into practice. Here is the code, not s...

Problem with description of my site and google search

My HTML page : http://www.faressoft.com <meta name="description" content="فارس سوفت الاسم الرائد في عالم البرمجيات العربية" /> When I search for my site name "فارس سوفت" using google, the description contains my description and the error message of my contact form. why ? ...

Drag and Drop Divs and compare values

I have four divs with custom Attributes like: <div marker="A">A1</div> <div marker="A">A2</div> <div marker="B">A3</div> <div marker="B">A4</div> Now I would like to use jquery to make each div drag- and drop-able. Now when a user drags e.g. div A1 on div A2 (vice-verca would alos be possible), it shall compare the marker attribute an...

How is the caret emulated in Etherpad?

How is the blinking caret emulated in Etherpad? (See a live version at ietherpad.com) The way I would do it, is to create a div and position it absolutely where the caret should be. Then, display and remove it in regular intervals. However they seem to do it differently. The text of a row is in <div id="magicdomid2" class="">...</div> ...

How to turn an encoded link such as "http%3A%2F%2Fexample.com%2Fwhatever" into "http://example.com/whatever" in python?

I always found links in html source stored in such format, the question is how do I change such links back to what it's normally like? Thanks a lot! ...

Will the warning bar go away

I am starting to build a site with HTML and JavasSript as well as embedded YouTube videos. When I load the site on ie8 I get a warning saying that ie stoped the files that could access my computer. I don't really mind pressing it to actually load my page but when I put it on my web hoster, will that message go away? Thanks, Luck ...

With jQuery, how to draw square Divs inside the document, clicking a point in the viewport then moving the mouse?

Hi to all, I want to draw inside the DOM squared Divs, clicking a random point in the viewport then moving the mouse with this effect... http://www.vegabit.com/test/example_create_div_on_mouse_move.jpg in jQuery... and without any plugin... Thank You in advance! Max ...

is it a crime to put youtube videos on a site if I own them?

is it a crime to embed youtube videos on to an html site if I uploaded them and own them I know I should know this but I am a bit of a n00b to html/xhtml thanks --Luck ...

Get offset of node in whole html document in Javascript?

I'm looking for a way to get the offset relative to the whole document for a given node with Javascript. Eg.: <html><head></head><body><div id="mainContent"><h1 id="myTitle">Title</h1><p>First paragraph</p><p>Second <b>paragraph</b></p></div></body></html> Then (using JQuery): $("#myTitle").getDocumentOffset() should return 47 beca...

Why does missing image display broken image and not the text from alt tag in Chrome?

So the rails code I used: <%= image_tag("logo.png", :alt => "Sample App", :class => "round") %> produces the HTML: <img alt="Sample App" class="round" src="/images/logo.png" /> But when I load the page, it shows the broken image symbol. What gives? I am loading it in the latest stable build of Chrome on Windows, fyi. As an asid...