#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 12, 2015 11:22:16 GMT -8
Ty! Time to Shelter-ise the tooltips! Quick Q are these the same as Tooltip thingy plugin Yes. Any changes you make will affect the tooltips of both plugins as they use the same jQuery function to generate their tooltips.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 12, 2015 11:32:06 GMT -8
Another random question is there any way to make the stuff behind the black seem slightly blurred? The game I'm basing it on on things like the title screen when you have to select something it blurs out the background so I was wondering if its possible to do the same
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 12, 2015 11:39:38 GMT -8
Another random question is there any way to make the stuff behind the black seem slightly blurred? The game I'm basing it on on things like the title screen when you have to select something it blurs out the background so I was wondering if its possible to do the same If there's a way to do that with CSS3, then maybe. But I wouldn't know.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 12, 2015 23:19:00 GMT -8
Shouldn't .container.info target .container.stats instead? This is a reference to the default value of home4 My default theme uses .container.stats Did I really type .info? My bad. Also would you consider adding .shoutbox.container.full as a default slide? Or a tutorial under an faq since not every site uses a shoutbox. I do realize that target selectors are going to confuse most people. Not everyone has the shoutbox enabled, so it definitely not going to be a default value since its presence can't be guaranteed even on a default theme. I realize some have the info center disabled as well but from what I've seen it's not common enough to present much of a problem. Another thought would be the Pb.data('user').id variable as an option in landmark urls. I have added this feature myself by adding .replace('pbuserid',pb.data('user').id) to the four times the land_url appears. Now using user/pbuserid switches to site.freeforums.net/user/1 Maybe in the next update. I was actually thinking about doing something like that but never got around to it. That seems like the easiest solution, though, so I'll definitely consider implementing it. I also think it would be cool if you could run custom javascript commands (via input box, optional) for each landmark. ( I will probably add this myself as well, it's just an idea) I think most people won't get use out of that versus the few who know how to do it who will also be likely to know how to edit the source code like you did. For the sake of minimizing clutter I could offer a source code modification for the few who do want it. Bug: After the tour has been closed, it will be re-initiated by using the left and right arrow keys. (Also views improperly) I can't seem to duplicate this. Is it in a specific browser? Or do you have an example? Bug: Anchors seem to break the tour IF the next landmark is on a new landmark url. Example: site.freeforums.net/user/1#top trying to navigate to site.freeforums.net/user/2 in the next slide will do nothing Anchors shouldn't be necessary in URLs as you can target their elements using the selectors. The plugin already makes the page scroll down to them. I have an anchor in a couple of my plugins. If the user can click links during the tour, and they hit an anchor (on google chrome) that essentially breaks the next slide. And the bug for the arrows was on google chrome.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 13, 2015 8:58:20 GMT -8
I have an anchor in a couple of my plugins. If the user can click links during the tour, and they hit an anchor (on google chrome) that essentially breaks the next slide. And the bug for the arrows was on google chrome. I'll have to look a bit more into the anchor thing later since I need to review the plugin's dependencies on the URL structure. I think it's sloppy to begin with. I added a .off() when the tour is closed to fix the arrow key problem in Chrome. Dunno why I didn't add that before.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 13, 2015 14:00:57 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓, can you provide some example HTML structure of your anchors for testing purposes? I was under the impression that clicking on an anchor link would add #name to the end of the URL in the address bar, but it doesn't seem to happen in Chrome, nor is my tour ever interrupted upon clicking one. This is what I'm testing with: Or if you have a link to a live example that's a million times better.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 13, 2015 15:27:04 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓, can you provide some example HTML structure of your anchors for testing purposes? I was under the impression that clicking on an anchor link would add #name to the end of the URL in the address bar, but it doesn't seem to happen in Chrome, nor is my tour ever interrupted upon clicking one. This is what I'm testing with: Or if you have a link to a live example that's a million times better. www.hypergurl.com/anchors.htmlIt shows www.hypergurl.com/anchors.html#bottomwhen you click the link in chrome. Why it doesn't do that with your sample, is probably because your target is still in view so Chrome ignores it. I think the easiest way to test, would be by manually adding the anchor in the address bar and hitting enter. It shouldn't do anything, but it would make the url with the (fake) anchor that could be used for testing. If that still doesn't work I could try setting up a live sample of what I'm talking about.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 13, 2015 15:33:41 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓, can you provide some example HTML structure of your anchors for testing purposes? I was under the impression that clicking on an anchor link would add #name to the end of the URL in the address bar, but it doesn't seem to happen in Chrome, nor is my tour ever interrupted upon clicking one. This is what I'm testing with: Or if you have a link to a live example that's a million times better. www.hypergurl.com/anchors.htmlIt shows www.hypergurl.com/anchors.html#bottomwhen you click the link in chrome. Why it doesn't do that with your sample, is probably because your target is still in view so Chrome ignores it. I think the easiest way to test, would be by manually adding the anchor in the address bar and hitting enter. It shouldn't do anything, but it would make the url with the (fake) anchor that could be used for testing. If that still doesn't work I could try setting up a live sample of what I'm talking about. I moved the anchor out of view, but I'm still not getting anything appended to the end of the URL. The page is still attempting to scroll to it so I can at least verify that the anchor is doing its job. If you've got an example that will help immensely since I can't seem to break it myself through normal use.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 13, 2015 23:16:15 GMT -8
www.hypergurl.com/anchors.htmlIt shows www.hypergurl.com/anchors.html#bottomwhen you click the link in chrome. Why it doesn't do that with your sample, is probably because your target is still in view so Chrome ignores it. I think the easiest way to test, would be by manually adding the anchor in the address bar and hitting enter. It shouldn't do anything, but it would make the url with the (fake) anchor that could be used for testing. If that still doesn't work I could try setting up a live sample of what I'm talking about. I moved the anchor out of view, but I'm still not getting anything appended to the end of the URL. The page is still attempting to scroll to it so I can at least verify that the anchor is doing its job. If you've got an example that will help immensely since I can't seem to break it myself through normal use. pastuleotestforum.freeforums.net/Go here and scroll to the bottom. There will be a button that says "Sell Item" click that and it should activate an anchor
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 14, 2015 9:19:11 GMT -8
Okay, I figured it out now, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓. Apparently it only appends the anchor to the URL if you're on the homepage. I was adding it to a hidden board so that it wasn't visible on the regular sections of the forum I was testing it on. After trying on the homepage I was easily able to duplicate the issue as you described it and fix the underlying problem. On my next go around the source code I'll add the user ID thing.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 14, 2015 10:22:33 GMT -8
Okay, I figured it out now, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓. Apparently it only appends the anchor to the URL if you're on the homepage. I was adding it to a hidden board so that it wasn't visible on the regular sections of the forum I was testing it on. After trying on the homepage I was easily able to duplicate the issue as you described it and fix the underlying problem. On my next go around the source code I'll add the user ID thing. Cool. The anchor does that on the user profile page and the custom pages too. I'm guessing the board pages think they are "special"
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 14, 2015 10:41:45 GMT -8
Cool. The anchor does that on the user profile page and the custom pages too. I'm guessing the board pages think they are "special" Meh. Either way the regular expression that searches the URL for the tour ID was grabbing the # symbol and adding it as part of the ID, so the fix I put in place should hopefully remove it in every case. I added a couple lines to replace $[user.id] when getting the landmark URLs and have submitted the update to the library.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 14, 2015 11:04:01 GMT -8
Cool. The anchor does that on the user profile page and the custom pages too. I'm guessing the board pages think they are "special" Meh. Either way the regular expression that searches the URL for the tour ID was grabbing the # symbol and adding it as part of the ID, so the fix I put in place should hopefully remove it in every case. I added a couple lines to replace $[user.id] when getting the landmark URLs and have submitted the update to the library. Did you want a sample video of it running on Youtube?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 14, 2015 11:10:55 GMT -8
Meh. Either way the regular expression that searches the URL for the tour ID was grabbing the # symbol and adding it as part of the ID, so the fix I put in place should hopefully remove it in every case. I added a couple lines to replace $[user.id] when getting the landmark URLs and have submitted the update to the library. Did you want a sample video of it running on Youtube? Nah, I got it. I just needed a normal use case where the page inserted it in the URL rather than doing it artificially, which you have my gratitude for providing.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 14, 2015 11:20:09 GMT -8
Did you want a sample video of it running on Youtube? Nah, I got it. I just needed a normal use case where the page inserted it in the URL rather than doing it artificially, which you have my gratitude for providing. I meant of the entire plugin silly.
|
|