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.
Adding a "Favorites" hyper link to all screens
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Adding a "Favorites" hyper link to all screens
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.
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.
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
Re: Adding a "Favorites" hyper link to all screens
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?
- Attachments
-
- SmallerScreen1.png (141.81 KiB) Viewed 2089 times
-
- MaxScreen1.png (143.83 KiB) Viewed 2089 times
-
- startHtml.png (28.45 KiB) Viewed 2089 times
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Adding a "Favorites" hyper link to all screens
Is there something in your custom.js that is changing the positions of things on the screen?
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
Re: Adding a "Favorites" hyper link to all screens
Not sure? Here it is.
- Attachments
-
- custom.js
- (12.1 KiB) Downloaded 265 times
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Adding a "Favorites" hyper link to all screens
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.
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
Re: Adding a "Favorites" hyper link to all screens
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?
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?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Adding a "Favorites" hyper link to all screens
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.
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.
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
Re: Adding a "Favorites" hyper link to all screens
Ok, thanks for your time Scott!
Who is online
Users browsing this forum: No registered users and 2 guests