Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-12-2006, 08:19 AM   #1 (permalink)
Junior Member
 
Join Date: 03-21-06
Location: Kentucky
Posts: 18
iTrader: 0 / 0%
Latest Blog:
None

Basicskills is liked by many
Arrow Getting Rid of Javascript Links

Hi all,

Was needing some advice on changing javascript links to text links. I'm not a coder so my question will probably sound very elementary. Currently the javascript links are on .asp pages that link to dynamically produced pages.
The javascript links to go to page 2 3 4 5 6.... the code looks like this javascript:__doPostBack('ctl02$dgProds$ctl01$ctl01 ',''). The amount of pages
often change from day to day. I need the links to be able to be crawled and with JS I know they aren't. Any help would appreciated.

thanks in advance

Basic
Basicskills is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-12-2006, 09:00 AM   #2 (permalink)
Inactive
 
veridicus's Avatar
 
Join Date: 01-18-06
Posts: 139
iTrader: 0 / 0%
veridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really nice
I'm not sure I understand the question completely, but I'm a software developer so let me throw something out there.

If your asp is generating your javascript, then you can change the asp to generate HTML instead of javascript.

If your javascript is hardcoded then you'll need to write some asp code to generate the currently relevant links and output them.
veridicus is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-12-2006, 09:10 AM   #3 (permalink)
Contributing Member
 
WorldwideTrading's Avatar
 
Join Date: 01-22-06
Location: Exeter, East Devon, England, UK
Posts: 768
iTrader: 0 / 0%
Latest Blog:
None

WorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really nice
Thats interesting. I have just built a suppliers directory for a client and I was thinking about using javascript to hide email addresses from harvesters. I am interested to hear about people not wanting to use javascript and the reasons.
WorldwideTrading is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-12-2006, 09:27 AM   #4 (permalink)
Junior Member
 
Join Date: 03-21-06
Location: Kentucky
Posts: 18
iTrader: 0 / 0%
Latest Blog:
None

Basicskills is liked by many
veridicus,

Thanks for the reply. I'm not sure if the JS is hardcoded. But I'll give you a link to one of the pages in question and hope it will help you understand.

http://www.wakefieldscearce.com/mn_products.aspx?sc=25

Look for the links to page 123456789 they use JS and directly across from this is a back image button that uses JS also I think. Hope this helps.

thanks again
basic
Basicskills is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-12-2006, 10:03 AM   #5 (permalink)
Inactive
 
Mrblogs's Avatar
 
Join Date: 03-29-06
Posts: 546
iTrader: 0 / 0%
Mrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really nice
Send a message via MSN to Mrblogs Send a message via Yahoo to Mrblogs
Quote:
Originally Posted by cgreen
Thats interesting. I have just built a suppliers directory for a client and I was thinking about using javascript to hide email addresses from harvesters. I am interested to hear about people not wanting to use javascript and the reasons.
Best way I've found of hiding email addresses is to unicode them, with the &# tags.

Just get each letter and turn it into a � or whatever
Mrblogs is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-12-2006, 11:56 AM   #6 (permalink)
Contributing Member
 
WorldwideTrading's Avatar
 
Join Date: 01-22-06
Location: Exeter, East Devon, England, UK
Posts: 768
iTrader: 0 / 0%
Latest Blog:
None

WorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really nice
Quote:
Originally Posted by Mrblogs
Best way I've found of hiding email addresses is to unicode them, with the &# tags.

Just get each letter and turn it into a � or whatever
thanks, ill give that a shot. All I have do to is find an example in php.
WorldwideTrading is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-13-2006, 10:16 AM   #7 (permalink)
Inactive
 
veridicus's Avatar
 
Join Date: 01-18-06
Posts: 139
iTrader: 0 / 0%
veridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really niceveridicus is just really nice
Quote:
Originally Posted by Basicskills
veridicus,

Thanks for the reply. I'm not sure if the JS is hardcoded. But I'll give you a link to one of the pages in question and hope it will help you understand.

http://www.wakefieldscearce.com/mn_products.aspx?sc=25

Look for the links to page 123456789 they use JS and directly across from this is a back image button that uses JS also I think. Hope this helps.

thanks again
basic
Ah, asp.net. Plus there's some dreamweaver sprinkled in. You're going to have to speak to your developers because all we can see here is the output, not how it's generated. It sounds like you'll want to change your code, and that can be easy or hard with .NET. Speaking in generalities on a forum won't help. You need someone to look at your code.
veridicus is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-13-2006, 07:23 PM   #8 (permalink)
Junior Member
 
Join Date: 03-21-06
Location: Kentucky
Posts: 18
iTrader: 0 / 0%
Latest Blog:
None

Basicskills is liked by many
veridicus,

Will do. Thanks for taking a look.

Basic
Basicskills is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-14-2006, 04:01 PM   #9 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,819
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
Possibly a good example of over-complication, the solution would be easy if the <form> post was not needed. (The JavaScript modifies a form then submits it.) That is the back-end (server-side) code could be changed to accept HTTP Get Requests and the 12345 page links could be changed to links with ?sc=25&page=2 instead.

Further complications may arise if this method means variables get dropped if they are not added to each 12345 link. Which may be why the current page uses a <form> to hold on to them. Sessions (and cookies or session-ID in the URL) might be able to replace the form.
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does google see links in javascript? lucia Google Forum 7 07-10-2007 01:38 PM
Dynamically creating links in Javascript thing2b Coding Forum 3 01-30-2007 12:22 PM
how do i create a javascript code that allows me to add links kf9211 Coding Forum 18 01-26-2007 05:16 PM
Count-up from a particular year + Javascript within Javascript? Help! Azam.biz Coding Forum 3 06-06-2005 06:47 AM
Fade in on graphics & links - javascript ? tonya Web Design Lobby 4 05-23-2004 12:54 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:31 PM.
© Copyright 2008 V7 Inc