GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Javaskript question - can this be done? (https://gfy.com/showthread.php?t=124274)

cluck 04-10-2003 11:06 AM

Javaskript question - can this be done?
 
I want to have a named anchor on my page and have the browser automatically scroll down to it when the page loads. Anyone who knows how gets a free copy of the TGP form filler I'm writing :thumbsup

All this to avoid buying Advanced Submitter. Blah, I hate using other peoples software.

cluck 04-10-2003 07:05 PM

There's gotta be a way...

Juicy D. Links 04-10-2003 07:17 PM

cluck its simple that even a sexy guido like myself knows.


http://www.cluckhasahugecock.com/#anchorgoeshere


When that linked iis clicked it will go to the link

cluck 04-10-2003 09:16 PM

Quote:

Originally posted by juicylinks
cluck its simple that even a sexy guido like myself knows.


http://www.cluckhasahugecock.com/#anchorgoeshere


When that linked iis clicked it will go to the link

Juicy yeah I know that's how you do it, but I'm trying to do it from within a program that uses the SHELLDOC dll. I changed the document.innerHTML property of the browser to fill in submit forms(like advanced submitter) and I made it insert an anchor at the start of the form. The problem is getting the program to automatically scroll down to that anchor. I can't just navigate to it because the HTML being displayed isn't truly the webpage, it's my modified HTML with the form data. I figure if I can get it to execute hahahahahahahahahaha from inside the binary it'd be easy but alas I have had no success yet.

fletcher 04-10-2003 09:22 PM

Haven't tested it, but try:

window.location.href += "#anchor";

Edit: Yep, tested it...it works OK.


All times are GMT -7. The time now is 05:12 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123