- This topic has 15 replies, 2 voices, and was last updated 2 years, 4 months ago by
pernad01. This post has been viewed 993 times
-
AuthorPosts
-
March 16, 2024 at 2:25 am #10044514
pernad01
ParticipantI’m using index-one-page.html for my website. It uses Ajax popup pages to display the portfolio (portfolio-ajax-project.html). I can’t use social media code generators for my share buttons because there is not a direct url to the portfolio pages. Can you please share the code to make it work?
Thanks for your help!
March 16, 2024 at 2:37 am #10044515Support
KeymasterThis reply has been marked as private.March 16, 2024 at 7:44 am #10044517pernad01
ParticipantThank you, but it’s not working. I put in your recommended code and when I use the link to https://www.pernadesign.com/#TechPG, it takes me to the start of the projects carousel, not the actual modal page. Also, when I use the links for the other projects, they don’t work at all. Please advise.
Thank you!
March 18, 2024 at 7:42 am #10044522Support
KeymasterHi, sorry, please update the JS to:
$(document).ready(function(){ if ( window.location.hash ) { $(window.location.hash).click(); } });Clear cache and try again. It should open the modal automatically
March 19, 2024 at 1:45 am #10044528pernad01
ParticipantHi, sorry this is not working either. I’m getting the same results as before. What do you recommend?
March 19, 2024 at 2:53 am #10044531Support
KeymasterThis reply has been marked as private.March 19, 2024 at 6:21 am #10044536pernad01
ParticipantI used your code but it whacks out the page. Dreamweaver finds an error on this line: var pluginOptions = theme.fn.getOptions($this.data(‘plugin-options’));
ERROR: ‘Theme’ is not defined. [no-undef]
Thanks for your help!
March 19, 2024 at 8:26 am #10044538Support
KeymasterHi, that code is correct, can you please try to upload that to custom.js in your server and try again? Not sure why dreamweaver is showing that error, I use VS Code and it’s working here in my test.
March 20, 2024 at 12:10 am #10044543pernad01
ParticipantI uploaded the custom.js file with your code to my server. After entering the URL plus the hashtag and ID name, it still only goes to the portfolio carousel on the page. It does not open the popup relating the the ID name. Could you take a look at my site and tell me what I’m doing wrong?
Thank you so much!
March 20, 2024 at 2:41 am #10044544Support
KeymasterThis reply has been marked as private.March 20, 2024 at 4:46 am #10044546pernad01
ParticipantHi, I changed the loop to false and replaced the js code in the custom.js file. Using the url plus hash and ID name, it goes to the portfolio carousel but doesn’t open the popup. If I refresh the page with the same url string, it goes to the corresponding (unstyled – no css) web page and does not present it as a popup.
March 20, 2024 at 5:13 am #10044547Support
KeymasterThis reply has been marked as private.March 20, 2024 at 5:35 am #10044548pernad01
ParticipantThis reply has been marked as private.March 20, 2024 at 5:45 am #10044549pernad01
ParticipantThis reply has been marked as private.March 20, 2024 at 10:51 pm #10044551Support
KeymasterThis reply has been marked as private. -
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.