A Conversation for The H2G2 Programmers' Corner

CSS

Post 81

Pirate Alexander LeGray

smiley - cheerssmiley - surfer


CSS

Post 82

Pirate Alexander LeGray

/*What do you reckon to my code to download a large stylesheet only once and only when needed.*/ Toggle elements

Rx
{re}
{r1}
Ry
stylesheetTable.css #r0c0,#r0c1 {position:absolute;height:50px;width:100px;Background-color:#ffffcc;border:3px ridge #95bef7;z-index:1;text-align:center;font-family:impact;font-size:18pt;} I only found the xmlDOM by chance and thought I was going to have to learn php, yet another language


CSS

Post 83

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Probably redundant, since any browser modern enough to *use* external stylesheets will cache them and reuse the cached copy rather than downloading it more than once for the same site. Good try, though... smiley - jester


CSS

Post 84

Pirate Alexander LeGray

Done my memory, the sides slide off. One of these traders said it wasn't worth his while to do it, but knew the board and case.smiley - smiley


CSS

Post 85

Pirate Alexander LeGray

Its already used up most of the memory, loading 550MBsmiley - erm


CSS

Post 86

Pirate Alexander LeGray

Why doesn't my clock work in firefox/safari, but does in opera and IE

http://arithmetic.890m.com

smiley - groan


CSS

Post 87

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

It's working in Firefox here...


CSS

Post 88

Pirate Alexander LeGray

The little red dot doesn't move in minesmiley - cheers


CSS

Post 89

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Oh, OK, it doesn't move for me either, then. I didn't realise it was supposed to.


CSS

Post 90

Pirate Alexander LeGray

I can't understand it, in the table their is the same code and that works. I thought maybe its a typo but I'm dyslesic and can't see it. IE ignores typos but it works in opera.

The timer works because main time is set, but the dot doesn't reposition.smiley - erm


CSS

Post 91

Pirate Alexander LeGray

Is it possible to detect firefox with a conditional comment, I will then take the clock off for firefox, or otherwise tell users they need to get Opera. Even my links don't work in firefox.


CSS

Post 92

Pirate Alexander LeGray

Fixed with the help of silicon valley, I prefer flash5 and how come I can write three pages of equations in C++ evaluated with ease all in under a microsecond (I think) and javascript makes such a meal out of tiny things.

Want web traffic, don't go to google get robotraff. Yes this extremely iffy site will hack you 30000 hits for just 130 dollars. Not only that but they keep coming back for more.

An Adware company is suing an antivirus company for removing its malware without first letting users see the ads.

What a worldsmiley - biggrin


CSS

Post 93

Pirate Alexander LeGray

Got myself a new toy called firebug, it's great and I've been playing with it all night.

Found a variable in clock that didn't work, so thought I forgot the '&' prefix for passing by reference; this is what I mostly did with so called functions four years ago, returning bool for if the function performed the task within specifications.

Turns out the only type of variable that you can pass by reference is an array, and some chap goes into great difficulties to make that look like an ordinary variable.

I would not have known this but for firebug. I've done better than that though, cutting processor useage or operating system time to run it down by half.

Here's a computing question:
How do I make it accurate to within 1 second?

2.5 secs is easy, and at the moment it can be 5 secs slow.

Do those smiley - bleep M$ programmers ever think when they bring out another update. Do they not think users have security? Spent most of yesterday downloading SP3 when I already got the parts I want, fighting with my security and their defender stopped my mobile modem working on startup.smiley - bleepsmiley - bleep

Why can't they offer the choice to save first, then my dog will have a sniff and leave it alone, rather than process has been blocked, possible virus activity ect.

IE6 is dead; if you accept SP3 it won't work and if you don't you wont get any more free fixes.


CSS

Post 94

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Yup. You have to have IE7, but *not* IE8. If you install IE8 Beta you're screwed until they start supporting it in SP3a. AFAIK there's no option to uninstall IE8 and it erases your rollback points. smiley - geek


CSS

Post 95

Pirate Alexander LeGray

I've tried to make my clock accurate to 1 sec, mediocre attempt and even looks 15 secs slow in the first minute sometimes.

Objects and javascript, pull your hair out, today is not defined, What! that's one line after var today=new Date();
I'm not defining var today=new param; and all the crap that goes with that.

smiley - biggrin I'm not doing anything else with clock unless somebody tells me of an improvement.


CSS

Post 96

Pirate Alexander LeGray

How do you add an XHTML mailto linksmiley - smiley


CSS

Post 97

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

I have no idea. smiley - headhurts


CSS

Post 98

Pirate Alexander LeGray

I tried something obviously too simplesmiley - biggrin


CSS

Post 99

Pirate Alexander LeGray

Update for SP3. It crashes AMD configurations, such as HP use. That's also mine but although slower nothing serious yet.

The problem is that AMD reboots on start and then reboots and...
their is a fix but this involves not panicking and stopping the cycle of reboots by pressing f8,choosing safestart that doesn't work on mine, I have to set boot.ini but that will be unavailable, and then getting down and dirty with your favourite; the registry and setting a key you create to the right values.

I'm sure everybody can do this, and only I would feel a little queezysmiley - biggrin

That code for table I did is crap, it works but I don't understand how. You can only pass objects by reference, but a couple of elements not objects are passed by reference, I've checked it out and they aquire the correct values. Javascript is now getting on my nerves. Additionally the use of different class and id for the same element confuses firefox which renders style to div#r0c0.rncn which is nonsense, I thinksmiley - smiley


CSS

Post 100

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

You have to disable some (IBM?) network driver that's common on AMD boards. Apparently SP3 screwed up the chipset detection and tries to write directly to registers that exist on the Intel board version of the chip but not on the AMD board version, causing a "fatal exception" and a reboot. The "Generic" driver works fine; you just have to tweak the registry to stop it autodetecting and updating the driver at reboot. smiley - geek


Key: Complain about this post

CSS

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more