Pop Up Login jQuery error (?)

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Jan 03, 2015 10:33 pm
Reply with quote
Report this post
Hello and happy new years to all!
I'm using the musicstate template and I'have a problem with the pop up login.
In my website insteat of using the pop up to open the login form I use it to show a link for a player (you can see it in action here [url]radio.musicselection.fm[/url])
It works fine but I've noticed that when I close the pop up, even if you can not see it, it is still there and you can click the link of the player even if you can not see it.
I already tried to use it as in the demo (for the login form) to check if it was caused from the anomle use, but the problem didn't fix.
I also tried to compare it with the one in the demo but they have different script.

Anyway it seems to be caused by the css property "display" of the div #gkPopupLogin that do not change from
Code: Select all
display:block

to
Code: Select all
display: none


I'm not able to fix the jQuery in the gk.scripts.js file by my self.

Can anybody help me, please?

thank you
User avatar
Junior Boarder

GK User
Sat Jan 03, 2015 10:55 pm
Reply with quote
Report this post
Is your template updated?
User avatar
Moderator

GK User
Sun Jan 04, 2015 12:11 am
Reply with quote
Report this post
I suppose so, I downloaded 2 weeks ago...How could I chek to be sure?
in the template manager under the updates appear:
"Loading update data from GavickPro Update service..."
User avatar
Junior Boarder

GK User
Sun Jan 04, 2015 1:45 am
Reply with quote
Report this post
ok I've probably found the solution
I've added line
Code: Select all
popup_login.css('display', 'block');

under the
Code: Select all
jQuery('#gkLogin').click( function(e) {
            e.preventDefault();
            e.stopPropagation();

and the line
Code: Select all
popup_login.css('display', 'none');

under the
Code: Select all
popup_overlay.click( function() {
                 if(opened_popup == 'login')   {
            popup_overlay.fadeOut('medium');
            popup_login.removeClass('gk3Danim');


I don't know if it was the right thing to do but it seems to work :)
User avatar
Junior Boarder

GK User
Sun Jan 04, 2015 5:00 pm
Reply with quote
Report this post
If it works, then it's fine ;)
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Mon Jan 05, 2015 6:31 pm
Reply with quote
Report this post
Isn't really related with the topic but I was wondering if it's possible to make the hover of the DJs photo appear as in the demo (featured artists) with the name (the title of the image) instead of the chain picture.
In the demo it's probably working like that because of the joomsocial, are there any simple way?

thanks
User avatar
Junior Boarder

GK User
Wed Jan 07, 2015 4:46 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Jan 07, 2015 11:37 pm
Reply with quote
Report this post
it was in the first post, but anyway, this is it:
http://radio.musicselection.fm
User avatar
Junior Boarder

GK User
Thu Jan 08, 2015 11:18 pm
Reply with quote
Report this post
User avatar
Junior Boarder

GK User
Sun Jan 11, 2015 12:46 pm
Reply with quote
Report this post
Yes, that was the right track to follow. To be honest most of the simple changes were already covered on this forum somewhere ;) It's like a giant knowledge base.
User avatar
Moderator


cron