PDA

View Full Version : Using link instead of a form?


pqwabbit
04-10-1999, 01:14 PM
I just installed this nifty script that automatically searches for updates on my site - the instrucitons have it called from a form using a button - but I would realy like to just add a link to my main index like "What's New" (to www.massey.i-p-d.com/index.shtml (http://www.massey.i-p-d.com/index.shtml) so it blends in nice

it looks like this: www.massey.i-p-d.com/test.html (http://www.massey.i-p-d.com/test.html)

the form source has certain params in it that like directly relate to the fucniton so i dont know if I can do this another way -
<FORM METHOD="GET" ACTION="/cgi-bin/jawhatschanged.pl">
<INPUT TYPE="hidden" NAME="base" VALUE="/usr/domain/massey/www/data">
<INPUT TYPE="hidden" NAME="rbase" VALUE="http://www.massey.i-p-d.com">
<INPUT TYPE="submit" VALUE="Whats changed in the last 7 days">
</FORM>

it does a need a bitmore tweaking but i have to run to work!

thanx
Lea

------------------
Bunnies make life better.
Massachusetts House Rabbit Society, Inc.
www.MAHouseRabbit.org/ (http://www.MAHouseRabbit.org/)

[This message has been edited by pqwabbit (edited 04-10-99).]

jenili
04-10-1999, 03:30 PM
Yeah, you should be able to. Your link would look something like this. The %2Fs are slashes and the %3A is a colon; just leave them the way they are here.
[Ucode]<a href="http://www.massey.i-p-d.com/cgi-bin/jawhatschanged.pl?base=%2Fusr%2Fdomain%2Fmassey%2Fwww%2Fdata&rbase=http%3A%2F%2Fwww.massey.i-p-d.c om">What's New</a>[/quote]


------------------

jeni (when will UBB fix its code tags?)

[This message has been edited by jenili (edited 04-10-99).]

Charles Capps
04-10-1999, 04:59 PM
Answering the code tag problem: Fixed in 5.33, released the other day. Unfortunately 5.33 also introduced a bug that prevents UBB-code rendering in edited messages...


------------------
"Okay, so I'm not "SANE" so to speak, but uh... I'm the lovable kind of psycho"
http://solareclipse.net/

pqwabbit
04-10-1999, 05:50 PM
ooo it works!!!! http://www.aota.net/ubb/smile.gif) thanx!
now all I have to do is modify the output page and some other stuff! woohoo!!
I had a whats new page but I rally got sick of manually updating it like all the time!

word of advice - never put what you're dirnkgin anywhere near your mouse http://www.aota.net/ubb/smile.gif

(now excuse me while I grab some paper towels...)

------------------
Bunnies make life better.
Massachusetts House Rabbit Society, Inc.
http://www.MAHouseRabbit.org/