Page 2 of 2

Re: Adding a "Favorites" hyper link to all screens

Posted: Sat Jan 30, 2016 10:21 am
by rasaro
Scott, these tips worked to hide and make visible my favorites link. Thanks.

Now I am having a problem with this link moving as the window is resized using position: absolute. I played around with fixed, and relative and got relative working the best when the window is resized. The problem with relative is that it offsets my banner and first two rows of every screen. The absolute value did not. Any suggestions?

Thanks again.

Re: Adding a "Favorites" hyper link to all screens

Posted: Mon Feb 01, 2016 5:22 pm
by Scott Klement
You have the <a> tag in the <body> with position: absolute, like the one I posted, and it's moving?

Or did you put it inside of one of the PUI divs? PUI will sometimes center the divs or make them the size of the display, etc. So you should put it directly on <body>, like in my example, otherwise it'll move around as the displays change.

Re: Adding a "Favorites" hyper link to all screens

Posted: Tue Feb 02, 2016 8:30 am
by rasaro
Yes Scott, I did put it in the body section. I have attached the screen shots. When the screen is maxed out on my big monitor the Favorites link is the correct location. When I make the screen size smaller to fit on my laptop screen size, the Favorites link moves to the middle area of the screen?

Re: Adding a "Favorites" hyper link to all screens

Posted: Tue Feb 02, 2016 10:01 am
by Scott Klement
Is there something in your custom.js that is changing the positions of things on the screen?

Re: Adding a "Favorites" hyper link to all screens

Posted: Tue Feb 02, 2016 10:30 am
by rasaro
Not sure? Here it is.

Re: Adding a "Favorites" hyper link to all screens

Posted: Tue Feb 02, 2016 2:52 pm
by Scott Klement
Not sure, when I do this, it always stays at the exact positions given in the "left" and "top" properties of the style. The rest of the screen moves (see the hybridSkin.resizeArea routine in your custom.js) but the "Favorites" link stays exactly where I put it.

Re: Adding a "Favorites" hyper link to all screens

Posted: Wed Feb 03, 2016 9:19 am
by rasaro
Scott, I added the favoritesLink html code to some of the other skins in Genie (Hybrid, Blue, and Skyline) and the same thing is happening in those skins. The Favorites link is moving around the screen when re-sized.

I did notice, except for the Hybrid Skin that the resizeArea routine is not in these other skins.

I just tested the Gradient Skin and using this skin the Favorites link does not move around. Not sure why?

What skin are you using?

Re: Adding a "Favorites" hyper link to all screens

Posted: Fri Feb 05, 2016 4:57 am
by Scott Klement
Rick, I was using the hybrid skin for testing. It worked fine for me.

Since this code is your own code (it is not part of the product) it's not covered under your support agreement with Profound. I've tried very hard to help you get started, and I really hope it helped. Unfortunately, I'm very busy, and I'm having a hard time finding time to help you further. (I'm writing this at 3am where I live if that gives you any clues.) I hope you're able to figure out what's going on and fix it!

If not, one option might be to hire our consulting team to help you get this working.

Re: Adding a "Favorites" hyper link to all screens

Posted: Fri Feb 05, 2016 8:40 am
by rasaro
Ok, thanks for your time Scott!