- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
30 Posted Topics
I have an input that renders completely weird in IE8 - the issue fixes itself however as soon as you enter something into the input. The input is not floated. When the page loads, the entire input, except the actually text in the input are moved down and right by …
I would remove the ul and simply style the anchors like so: [CODE] #menu a { width: 100px; padding: 10px; border: 1px white solid; background: #000; text-align: center; text-decoration: none; font-size: 1.4em; color: #abcdef; float: left; } #menu a:hover { background: #444; } [/CODE] adjust the width, colors, and padding, …
I have a containter div that uses rounded corners. For chrome, FF, and Safari, I simply use the CSS properites. But for IE, which doesn't support those, I have images that are absoutely positioned in each corner. The container div is resized by both js and by its child elements …
While attempting to use my forum posting system, I received a mysql error that said to look for the correct syntax to use around '' on line 1. I attempted to reproduce the error but was unable to do so. Any ideas on what cause this and how to prevent …
In IE7 only, I have an issue with disappearing elements/styling. First, my h3 header disappears. The space that it occupies is partially there, but not text is visible, nor is the background or the bottom-border assigned to it. In addition, other divs below the h3 are missing their bottom-border. However, …
What is the best way to setup a system that checks if a user has not viewed a thread since that has new posts since there last visit, so that the icon can be changed next to the thread? Would it be a good idea to use config files for …
I would consider how many features the code editor must have. If the user simply inputs code and then saves to view the code, you would simply have a text area and some php to save/output the code (not in real time). At the moment I'm working a news posting …
I have an image rotator that uses nested intervals. The outer one switches the images, and the inner one preforms the fade. The problem is is that the display is not updated during the interval function, and so, the fade is not displayed; the new image just appears- no fade. …
To do this, create a div with a black background, 100% width/height, and tranparency, and your login box. The HTML: [CODE=html] <img src="login.png" width="100px" height="30px" alt="login" id="loginBtn"/> <div id="login_fader"> </div> <div id="login_box> <form action="page.php"> <input type="text" name="username" value="Username"/> <input type="password" name="password" /> <input type="submit" value="Login" name="submit"/> </form> </div> [/CODE] The CSS: …
in your sql query you have double quotes around the the 3: [CODE] $sql="select * from sudoku where game_no="3""; [/CODE] They should be single qoutes: [CODE] $sql="select * from sudoku where game_no='3'"; [/CODE]
I have an iframe that is used to retrieve information from a mysql db after that page loads. However, javascript cannot access the frame after the form inside of it has been submitted once. The pages are on the same domain, my localhost, even the same folder, but I get …
Critical validation should not rely on javascript as users can turn it off and the code is viewable by all users who visit the site. The validation should be server-side (PHP) as its is secure and can't be affected by users. Also what do you mean by it isn't processed …
This just from personal experience, but the activeX warning seems to only appear on my pages when I view them in IE on my computer(esp. when viewing from my external hard drive). I very rarely receive the activeX warning when viewing my sites (or any site) when they are live. …
I have an iframe that is used to access the server so the entire page doesn't reload. The frame works great the first time but after the frame has preformed the query and reloaded, if the script tries to access the frame, I get a "permission denied" error. [CODE]server = …
Although ids should always be unique (I believe as stated by the w3c), getElementById does NOT have to be specifically used with just "document". It can be used with any element that has childNodes, as can getElementsByTagName and getElementsByName. Also in most browsers, getElementsByName only works with some elements. Like …
I have a site that is a single base page that loads content based on get variables. The problem is, is that whenever a form is submitted, the url is cleared of all variables and the form data is never handled. How do you keep the url from reverting back …
I am wondering if it as good idea to set up a website that has only one actual page, but includes different pieces depending on $_GET variables. What are the pros and cons of setting up website this way? Would it be a better idea to have multiple physical pages …
Is there any reason not to echo content like this: [CODE] <!--Some content up here--> <?php if($variable === true) { ?> <span>Some Content</span> <img src="some_img.png" alt="img"/> <?php ;} ?> <!--Some more content down here--> [/CODE] Or should I be directly echoing everything that is dynamic?
I have a sliding navbar that works fine until the mouse is moved too quickly over the links. Each link expands onmouseover and contracts onmouseout. The problem is, the onmouseout event is missed sometimes and then the link doesn't contract. Does anyone have a way to ensure that links are …
I wasn't sure where to post this...sorry if its in the wrong topic I was wondering if anyone could determine for me what language is integrated with this html and possibly some resources - like tutorials or basic examples so I know what I'm looking at. [CODE]<ss:set name="border" value="border:1px solid …
I need a script that takes cropped image coordinates and dimensions from javascript cropper and crops the image. I know about the copyimage function, and have tried unsuccessfully to implement it. If anyone has tutorial that lays out how to use it or has a script that crop and saves …
I have a form that "activates" the submit button; switching a greyed out version that does nothing for the working one, when all the fields are correctly filled in. The problem arises in IE 7 when the submit button is supposed to be activated. The greyed one disappears, but the …
I'm assuming "show" and "hide" are variables that are equal to "carousel_toggle_top" and "carousel_toggle_special", respectively? If not, you need to put "carousel_toggle_top" in the x getElement and "carousel_toggle_special" in the y getElement, with the qoutes. And I would use "none" instead of "" for the display style.
I am trying to create an anonymous function for onchange event of file field, so that when a file is selected, the covering text field gets that value. I know how to accomplish this by adding onchange="", but I'd prefer not do that. The code that I have almost works, …
I have a text area that is part of a form for a manageable picture gallery. When the user clicks the text area, the "Description" is supposed to disappear, and then when they click away, if they didn't type something, "Description" is supposed to reappear. The problem is is that …
I have an options section for my editable gallery that displays fine in Chrome, FF, Safari, Opera, and [I]even IE7[/I]. But not IE8 - which once again finds a way to make my life harder. Can anyone explain why this: [CODE] <td colspan="2" style="width: 800px;max-width: 800px; text-align: center;"> <img src="galleryopt.png" …
Say I have a variable number of form fields that can: a) contain only numbers - if the user tries to enter anything but a number the text is deleted b) no two fields can contain the same numbers c) no field can be left empty before the form is …
I am working on a picture gallery management system for a website. I have the dynamic gallery done, and I am nearly done with the part that edits the gallery. However I have run into problem that no matter what I try doesn't want to go away. When the user …
To display another html file in a page you use the <iframe>: [CODE]<iframe src="yourpage.html"></iframe>[/CODE] This can be styled for the height and width. The source should be full html (everything; header, body, etc.) document and not just snippets of code - just in case you were going to do that. …
I have a form at the bottom my website's homepage. I was wondering if there was a way, when you clicked the submit button, especially if there were errors with the form, to send you directly to the bottom of the page with either, javascript, php, or html. The code …
The End.
cloud09