Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Jess

  1. Does anyone know of a script I can use in a submission page that would automatically direct someone too one of two pages if a checkbox in the submission page was checked or not?
  2. Ok, I ended up using the following to get this to work: text/javascript"> var cb_boolean = '[@authfield:Faculty_Staff_Table_Admin^]'; if (cb_boolean == 'Yes') { document.write('<A HREF="URL"><img alt="" src="PhotobucketURL" target="_blank"><img src="PhotobucketURL" style="width: 267px; height: 40px;" /></A> } </script> I used photobucket to host the images for the buttons so that they would match the native navigation in our site. It looks pretty nice however I have another problem now. Other than the multiple staff groups, I also have parents and students who have completely separate authentication. Since the parents and students run on separate tables, I have to create separate datapages for the buttons. When I past them all where the buttons need to go, the datapage displays the buttons according to group correctly, however if the user is not in the same authentication table they receive their buttons with a login screen below. The login screen if for the buttons they cannot see from the other tables. Is there anyway to hide a datapage completely if the user is not authenticated in that table?
  3. Hello, I am using the JS: Show/hide A Custom Link On Results guide to display links to my datapages based on the user's authentication type (Admin, Teacher, Staff, etc.). I know very little about Javascript. I managed to get hyperlinks to display as text but I was wondering if someone could help me with figuring out how to display images that I can hyperlink to a different page on my site containing my datapages? What I am trying to accomplish is side navigation buttons that appear based on authentication type.
  • Create New...