Leather Knight Posted January 16, 2008 Share Posted January 16, 2008 Is there a way to make the portal have a horizontal scroll instead of a vertical? Thanks Link to comment Share on other sites More sharing options...
Genx Posted January 16, 2008 Share Posted January 16, 2008 Firstly .. Happy Birthday!! There are various techniques (do a search), but they are all workarounds -> So the answer is, if you want to save yourself a headache, find a way around using a horizontal portal. Link to comment Share on other sites More sharing options...
AudioFreak Posted January 16, 2008 Share Posted January 16, 2008 I wondered what that cake was for....lol Happy Birthday Kevin : Michael Link to comment Share on other sites More sharing options...
Leather Knight Posted January 16, 2008 Author Share Posted January 16, 2008 Thanks Guys! Yeah, I am looking around the portal thing. I have a db of investigation pictures I want to have shown by case number in the investigation db. A portal is perfect, it is just a "space" issue in the investigations db. Vertical is not working well, so I am trying to make it in a horizontal with scroll bar. I will keep looking... Thanks again!! Link to comment Share on other sites More sharing options...
Genx Posted January 16, 2008 Share Posted January 16, 2008 Well you could have a left / right arrow that sets a variable via script e.g: Let( $$currentItem = if( $$currentItem > 1 ;$$currentItem - 1 ; $$currentItem ) ; "" ) Let( $$currentItem = if( $$currentItem < count(Related::IDField) ; $$currentItem + 1 ; $currentItem) ; "" ) Finally, for your display field: GetNthRecord(YourRelatedImageField ; $$currentItem ) Rather than using a variable, you could (and probably should) use a field for a specific record. Link to comment Share on other sites More sharing options...
Leather Knight Posted January 17, 2008 Author Share Posted January 17, 2008 Thx Genx, I am going with the standard portal scroll. I just make the images smaller and if clicked, it takes them to the record. It looks cleaner and easier that way. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6091 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now