January 16, 200818 yr Is there a way to make the portal have a horizontal scroll instead of a vertical? Thanks
January 16, 200818 yr 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.
January 16, 200818 yr Author 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!!
January 16, 200818 yr 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.
January 17, 200818 yr Author 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.
Create an account or sign in to comment