Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 368
Search took 2.70 seconds.
Search: Posts Made By: qwertyuiop
Forum: HTML & CSS 09-21-2012, 10:54 PM
Replies: 6
Views: 586
Posted By qwertyuiop
Thanks for the suggestions. The reason I...

Thanks for the suggestions.

The reason I opted not to use display: none; was because I couldn't animate the transition; it would be an instant off/on effect, which wasn't what I wanted.

The...
Forum: HTML & CSS 09-21-2012, 07:01 PM
Replies: 6
Views: 586
Posted By qwertyuiop
Right, I didn't think there should be a...

Right, I didn't think there should be a significant difference in rendering in the same browser between two OS's. I have Chrome 21 on both Windows 7 and OS X (Lion).

The issue is that, when...
Forum: HTML & CSS 09-21-2012, 09:12 AM
Replies: 6
Views: 586
Posted By qwertyuiop
Thanks Sammy. So it works in Firefox in Windows...

Thanks Sammy. So it works in Firefox in Windows and OSX and Chrome on Windows... any idea why Chrome on OSX isn't behaving the same?


This is has the added display: block style:...
Forum: HTML & CSS 09-21-2012, 07:22 AM
Replies: 6
Views: 586
Posted By qwertyuiop
How to shrink a <select> element

Hi,

I want to shrink a <select> element from it's height to 0, using CSS animations to give a collapsing effect. I have it mostly working, but there is maybe ~15 px of height that don't seem to...
Forum: HTML & CSS 04-01-2012, 09:06 AM
Replies: 2
Views: 591
Posted By qwertyuiop
That's exactly the situation that causes me to...

That's exactly the situation that causes me to encounter this behavior. Thanks for the insight.
Forum: HTML & CSS 03-30-2012, 10:40 AM
Replies: 2
Views: 591
Posted By qwertyuiop
CSS active state not releasing upon mouse release

I have a styled link with a :hover effect and an :active effect so that when clicking it, it looks like it's really being depressed.

If you click the link, don't release the mouse button, and drag...
Forum: HTML & CSS 01-05-2012, 09:55 AM
Replies: 4
Views: 520
Posted By qwertyuiop
Hopefully this page helps? Custom Cursor Image...

Hopefully this page helps? Custom Cursor Image CSS - Stack Overflow (http://stackoverflow.com/questions/336925/custom-cursor-image-css)

Also, your cursor doesn't seem to be online.
Forum: HTML & CSS 01-05-2012, 07:39 AM
Replies: 22
Views: 683
Posted By qwertyuiop
When you say it's not working, what exactly do...

When you say it's not working, what exactly do you see?

Perhaps your include isn't referencing the correct location. If that's the case, you should see something similar to this:
Warning:...
Forum: JavaScript programming 01-05-2012, 07:25 AM
Replies: 4
Views: 277
Posted By qwertyuiop
Thanks Logic Ali. I guess I simplified my example...

Thanks Logic Ali. I guess I simplified my example a bit too much though, or wasn't clear enough. The function test takes an object as a parameter, not just a simple string.
Forum: HTML & CSS 01-05-2012, 06:24 AM
Replies: 22
Views: 683
Posted By qwertyuiop
Your menu.php should contain just the HTML, don't...

Your menu.php should contain just the HTML, don't include the php tags. If you can view menu.php in your browser and you see your menu, then you did this correctly.

Then, in the other pages, you...
Forum: JavaScript programming 01-05-2012, 06:16 AM
Replies: 4
Views: 277
Posted By qwertyuiop
Problem with passing object as argument

function $(x) {
return document.getElementById(x);
}

function test(x) {
alert(x.id);
}

function init() {
var o = {};
Forum: JavaScript programming 01-05-2012, 01:57 AM
Replies: 2
Views: 272
Posted By qwertyuiop
How about this? var wholeDate =...

How about this?


var wholeDate = getTheDay();

function getTheDay(){

var d = new Date();
var year = d.getFullYear();
var numMonth = (d.getMonth() > 8 ? "" : "0") + (d.getMonth() + 1);
Forum: JavaScript programming 01-04-2012, 10:12 PM
Replies: 7
Views: 573
Posted By qwertyuiop
Ah sorry I didn't catch the context of that line....

Ah sorry I didn't catch the context of that line. I'd rather not have inline code though... I guess it's a tradeoff I'll have to consider. Thanks again.
Forum: HTML & CSS 01-04-2012, 05:36 AM
Replies: 22
Views: 683
Posted By qwertyuiop
There's no way to do it with plain HTML. You need...

There's no way to do it with plain HTML. You need to store the code for the menus in another file, then use a server side language to include them into your 15 files.

menu.php
<ul id="menu">
...
Forum: JavaScript programming 01-04-2012, 02:51 AM
Replies: 7
Views: 573
Posted By qwertyuiop
Thanks rnd_me, I like this technique. By the way,...

Thanks rnd_me, I like this technique. By the way, is the way I'm initializing (onload & onreadystatechange) the fastest way to modify the body's class?

And just to clarify, the flash was not of...
Forum: JavaScript programming 01-03-2012, 05:45 AM
Replies: 7
Views: 573
Posted By qwertyuiop
Optimal method of applying css with javascript

I'm designing a page that uses javascript+css for enhanced interaction. However, if javascript is disabled, I'd still like the page to be functional, albeit less fancy. Likewise, if css is disabled,...
Forum: HTML & CSS 01-02-2012, 02:51 AM
Replies: 0
Views: 389
Posted By qwertyuiop
Collapsing/hiding table rows

Hi,
I have tables on my page, and I would like to be able to collapse some of the rows in css. display: none on the tr elements does the trick visually, however, I am implementing a toggle feature...
Forum: JavaScript programming 12-25-2011, 09:59 AM
Replies: 7
Views: 379
Posted By qwertyuiop
Apothem, you're probably right. While there will...

Apothem, you're probably right. While there will be some data duplication, I wouldn't be saving very much memory, relative so the unique data set. Thanks again, though out of curiosity, what approach...
Forum: JavaScript programming 12-25-2011, 08:51 AM
Replies: 7
Views: 379
Posted By qwertyuiop
That's pretty neat. Thanks Apothem! So I...

That's pretty neat. Thanks Apothem!

So I think I see where your current Graph() isn't very memory-optimized. When you assign multiple inputs to the same output, each output is essentially a...
Forum: JavaScript programming 12-24-2011, 05:52 AM
Replies: 7
Views: 379
Posted By qwertyuiop
Thanks Apothem, but I don't see how this would be...

Thanks Apothem, but I don't see how this would be more efficient? Could you elaborate?

I was looking at my code some more, and here's what I have as of now:


var strings = [
...
Forum: JavaScript programming 12-24-2011, 04:50 AM
Replies: 7
Views: 379
Posted By qwertyuiop
Best way to map multiples values to a pair of values

Hi,
What's a good way/ideal data structure to achieve this?

The objective of the code/function is to map user-inputted strings into a pair of specific, hard-coded strings. For example, say the...
Forum: JavaScript programming 08-16-2011, 06:36 AM
Replies: 3
Views: 465
Posted By qwertyuiop
Sorry, yeah this is just my "forumized code". len...

Sorry, yeah this is just my "forumized code". len is defined.
Forum: JavaScript programming 08-16-2011, 06:24 AM
Replies: 3
Views: 465
Posted By qwertyuiop
Redraw element within for loop

Hi,
I'm trying to update an element on my page after every iteration of a loop. I'm using a simple innerHTML to achieve this, however, what happens is the page freezes during the entirety of the...
Forum: JavaScript programming 08-15-2011, 10:32 AM
Replies: 2
Views: 1,364
Posted By qwertyuiop
Regex deleting blank lines

Say I have a <textarea> input and I want to strip all the blank lines (lines with only whitespace). I have this regular expression, why doesn't it do anything? I've tried different variations with...
Forum: PHP 08-14-2011, 12:09 PM
Replies: 7
Views: 777
Posted By qwertyuiop
.split() seems to be the javascript equivalent of...

.split() seems to be the javascript equivalent of explode(), no? It takes a string and a delimiter, and returns an array.

I just don't seem to understand why, according to the php manual, explode...
Showing results 1 to 25 of 368

 
Forum Jump

All times are GMT +1. The time now is 09:59 AM.