Important notice about the future of Stripcreator (Updated: May 2nd, 2023)

stripcreator forums
Jump to:

Stripcreator » Regarding Stripcreator » New Messages forum bug...

Author

Message

Graehe
Mindless Drone

I know you noticed the bug for jumping to new forum messages (where you end up slightly above the new messages).

The problem is that the images & other html code render AFTER you've jumped, pushing the rest of the page down.

The best way I can think of to fix it is to add an

onLoad='window.location="#newpost";'

to the body tag.

This does mean you can't point directly at "forum=xx#newpost" from the dot, but you can add "forum=xx&action=newpost" to the php code, telling it to generate the above script, or something.

The unfortunate side effect is that the jump might not occur for a while on a large page, and people tend to get confused...the good thing is that it will occur even if they scroll before the jump, unlike pointing directly at "#newpost".

---
Graehe (graehe@meow.org) | Graehe's Comics | Go to hell

8-12-01 10:11am (new)
quote : comics : pm : info


Graehe
Mindless Drone

quote:
The best way I can think of to fix it is to add an

onLoad='window.location="#newpost";'

to the body tag.


Correction:

Use

onLoad='window.location.replace("#newpost");'

So that they don't end up at the top of the page if they hit "Back".

---
Graehe (graehe@meow.org) | Graehe's Comics | Go to hell

8-12-01 10:34am (new)
quote : comics : pm : info


Brad
Feature Creep

Member Rated:

I will give this a shot this evening and we'll see how it goes. I also fixed some odd bug with your totalposts not showing up. Your totalposts were set to null. Dunno what was up with that.

---
www.bradsucks.net

8-12-01 1:02pm (new)
quote : comics : pm : info


evil_d
Riding through your town with his head on fire

Member Rated:


If so, could this problem also be solved by using "height" and "width" attributes for all of the images?

---
The what mentioned above is total fiction. Please don't take it seriously!

8-12-01 8:49pm (new)
quote : comics : pm : info


Graehe
Mindless Drone

Member Rated:

Mostly, but not entirely. Because comics are rendered inline after the text is displayed, it could still show up in an odd way (since some comics are taller than others, depending on the included text).

Besides, that would require database work, n' stuff.

---
Graehe (graehe@meow.org) | Graehe's Comics | Go to hell

8-12-01 9:28pm (new)
quote : comics : pm : info

Stripcreator » Regarding Stripcreator » New Messages forum bug...


reload page with comics

Jump to:

Post A Reply


stripcreator
Make a comic
Your comics
Log in
Create account
Forums
Help
comics
Random Comic
Comic Contests
Sets
All Comics
Search
featuring
diesel sweeties
jerkcity
exploding dog
goats
ko fight club
penny arcade
chopping block
also
Brad Sucks