blakelives0312
|
hiding/unhiding specific portalsI have begun work on having a button to hide/unhide specific portals for specific users to click (and for it to save for their next login, though that may take a lot of work... and the help of admin...) if anyone has any ideas, they would be greatly appreciated...
|
Master Mathandal
|
If I understand correctly each portal is going to have like a spoiler to it where it will hide the portal if you dont want to see it. I know it wont be like the spoiler where you see a box just not text, but it will hide it completely. It sounds like a good idea if I am correct. You would have to make sure there is a prompt box though so that they wont hide something important, like the PM component we designed, without knowing it.
|
admin (no pm's please)
|
Well I can't see how it would be done unless we code helping functions this end.
|
Nick(NR)
|
Done it
http://portalogy.myfastforum.org/index.php
right hand portals, Click the links.
I guess now I'll have to mod this so it's for individual portals.
|
admin (no pm's please)
|
I stand corrected
I guess a bit more Javascript could set cookies for user defaults?
|
Master Mathandal
|
Yes, it would be a simple custom user cookie script!
|
Nick(NR)
|
| admin wrote: | I stand corrected
I guess a bit more Javascript could set cookies for user defaults? |
No need for your functions, just improved the code, take a gander .
|
Master Mathandal
|
It is good Nick!
|
blakelives0312
|
ours is better..
but really its all about what the users think...
*UPDATE*
so like an hour of work brought me to figure out the cookies thing and now it works, so take a look at it when you can: http://portaltester.myfreeforum.org
|
Master Mathandal
|
Yes, ours works where it will remember which you have up and which you dont. I have also coded and created a browser button that will tell if your browser will view everything correctly.
|
CodyT07
|
*gets popcorn* I feel there will be a fight and a race between Nick and Blakelives and Master M..
|
blakelives0312
|
note: Master M + blakelives vs. nick
... someone better get in there to help himm....
let the best forum win...
|
Nick(NR)
|
| CodyT07 wrote: | | *gets popcorn* I feel there will be a fight and a race between Nick and Blakelives and Master M.. |
Meh, no fight or race, I'm in a couldn't care less mood because of my workplace at the mo, so well done.
Blakes has knowledge of html, java and such, I don't, I expected him to get there with some pushing.
|
Viper
|
Not sure where you got your code from blake but it's quite strange.
| Code: | <head>
<script type="text/javascript">
function detectBrowser()
{
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);
if (browser=="Netscape")
{alert("The Page Will Be Viewed Correctly");}
else
{alert("Some Aspects Of The Page May Not Work");}
}
</script>
</head> |
In the body tag.
| Code: | <body>
<input type="button" onclick="detectBrowser()" value="Check Browser Compatibility" >
</body> |
Again, inside the body tag.
|
Master Mathandal
|
That was created by myself and can be viewed in our portal (It is the last one.) Click the button and it will show it. It is because, after hours of testing on seven different browsers and three diff computers, I realized that to fully see MOST of the myff features you have to use firefox. There are somethings, some Java, that wont work with firefox though.
http://portaltester.myfreeforum.org/ftopic51.php
|
|
|