Author |
Topic |
Steve D.
Average Member
USA
640 Posts |
Posted - 04 April 2002 : 13:16:15
|
quote:
Actually, I would make it an option at the top of the active.asp page so the user has some context.
It could be set the same way the other active.asp options are set like Active Topics Since and Reload Page.
Basically, it could say:
Make links appear in new window: checkbox
--Aaron
I like that idea. I'm going to struggle with my minimal skill set and see what I can come up with. Anybody have any snippets as good examples I'd love to see them.
---------------------------------------- Badges? We don't need no stinking badges |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 04 April 2002 : 14:15:09
|
I've made a small change to my initial plan (it's easier as I don't feel like continuing this MOD right now): I simply added a link to a second page (active2.asp) which will open the links in a new window. Active.asp is still the original one.
Perhaps for version 3.4 I'll make it a select box and add the value to a cookie so it'll stick when you change it and leave the forums.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 04 April 2002 : 14:28:22
|
quote:
Perhaps for version 3.4 I'll make it a select box and add the value to a cookie so it'll stick when you change it and leave the forums.
This idea sounds like a good one, that way you can default the link to behave how you want, no extra icons, just a minor change based on your cookie.
|
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 04 April 2002 : 14:32:35
|
quote:
quote:
Perhaps for version 3.4 I'll make it a select box and add the value to a cookie so it'll stick when you change it and leave the forums.
This idea sounds like a good one, that way you can default the link to behave how you want, no extra icons, just a minor change based on your cookie.
Yep. It's quite simple to do by using an if statement checking the cookie and depending on that it either does or doesn't show the target.
I'll see what I can do to make it work now and then when 3.4 is released I'll make the necessary changes and release it right away.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 04 April 2002 : 14:51:42
|
I'm sure you could do it with out an if statment if you chose the cookie value correctly you could just rewrite the links as
target=""" & request.cookie("target") & """>"
or something like that, better to set a vaiable to the cookie though, that way if the cookie is empty you can give it a default behaviour.
|
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
|
Aaron S.
Average Member
USA
985 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 04 April 2002 : 16:16:36
|
verry nice Frutzle
|
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 04 April 2002 : 16:30:59
|
Okay, Nathan has talked me into finishing the MOD a bit further. What I'm going to do: 1- add the option to open links in a new window to the profile page 2- save the value in the database (easier to call on other pages) 3- make it two checkboxes instead of one select box: > open in new window on active.asp > open in new window on forum.asp 4- edit active.asp and forum.asp accordingly
If you think of anything else you think I should do, let me know before tomorrow afternoon because that's when I'll start this mini mod project
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 04 April 2002 : 16:58:05
|
quote:
3- make it two checkboxes instead of one select box: > open in new window on active.asp > open in new window on forum.asp
You will need to use a set of radio buttons (those are the round ones ), not checkboxes.
Nathan Bales - Romans 15:13 ---------------------------------- Snitz Exchange | Do's and Dont's |
|
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 04 April 2002 : 17:08:40
|
Checkboxes would work fine:
__ Open active.asp links in new window
__ Open forum.asp links in new window
Radio buttons would be if you were saying you could only do active.asp OR forum.asp.
--Aaron
MySubs Email MOD MOD to Smile Mgr HotKeys MOD |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 04 April 2002 : 17:09:35
|
No, not radiobuttons, check boxes. Those square thingies that you can check (makes you wonder where the name check box comes from eh? lmao). Radiobuttons can't be turned off so it'd be 4 radio buttons versus 2 checkboxes.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 04 April 2002 : 18:21:53
|
Oh I see what your doing. I was just thingking new window vs same winodow, your doing one checkbox for each page.
Nathan Bales - Romans 15:13 ---------------------------------- Snitz Exchange | Do's and Dont's |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 04 April 2002 : 18:29:01
|
Oh you mean radio button ON / OFF per page? I'll keep it a surprise but I'll probably do that lol
I mailed the active.asp with cookie stuff to two people so far. As I said, I'm going to start on the "final" version of this mini-mod tomorrow around noon and hope to have it done tomorrow around this time, otherwise it'll be done some time Saturday.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Topic |
|