google plus button's popover is not working - javascript

I just wanted to ask you guys if someone knows why this is not working:
I am trying to plug google plus share button. button shows up fine. but if I go over with mouse, the popover shows up in the left top corner of the page and disappears again. If I click on g+ share button, nothing happens.
I just added what Google gave me as code snippet and did nothing else.

Related

Different behavior with pointerType mouse vs touch in dom-event

I am trying to develop a simple UI for my Web application where a client can click on an image and
a popup appears explaining the content of the image to the user. The way I intended this feature to
work is that by clicking on the image the popup appears and by clicking anywhere on the page, INCLUDING on that image,
the popup should close and you are free to click on it again to show it once more. On the desktop version, everything is working like a charm.
But on the other hand, when I switch to the mobile version of my UI in my browser, when I click on the image, the popup appears but when i click on it again,
an other popup just go stack on top of the other. If i click anywhere else on the screen, it close them but not when i click on the image like it should.
My question is: Does anyone knows why this type of behavior is happening and how i can fix this ?

Search icon on mobile site unresponsive and no longer toggles open

The search icon on my mobile website suddenly stopped working recently. It's supposed to toggle open a search bar; however, now when I click it, nothing happens.
When I long press via Chrome on mobile it displays "about:blank#blocked" and on Firefox on hover it displays javascript:void(0).
Not sure what caused it to stop working and it's a bit frustrating.
If anyone has any insights or ideas on how to solve it, that would be super helpful.
My website is www.gentlemanwithin.com
I see your issue:-
Your issue is when you are trying to access custom search form that unable to access because you added an extra search button which is not belongs to that. So you try toggle function to show yellow colored area of your code. After it your issue will solve. Below I have attached your site screenshot image, that you can see it for the reference.

Changes in code not taking effect - Visual web developer

I have a button which is calling a function that displays an alert. The alert is displayed but if I change the messege that the alert is showing, when I press the button the alert will still show the first message I wrote and not the updated one.
It is also happening when I add html tags, they won't show when I run the code.
Why is this happening?
You know the drill: make some edits to your document, click save, switch over to your browser, refresh it, and then observe the changes.
However, every now and again I will catch myself viewing the wrong site page, viewing the site on a different browser, or viewing the client's old live site! Check your address bar + go into your folder and open the page again.

C# Webcontrol Click Javascript Button problems

I read many posts but my problem is not really solved. I hope you can help me.
Problem:
In my C# Application I use a webcontrol and navigate through a website. This works good except for buttons. I want to click them, but it does not work 100%:
webBrowser1.Document.All["dnn_ctr423_View_img_filter"].InvokeMember("click");
or
webBrowser1.Document.GetElementById("dnn_ctr423_View_img_filter").InvokeMember("click");
The button seems to be clicked but the mask which pops by the button is instantly closing after my code. (it looks like the button is clicked instantly a second time to close it)
So I readed many and make try and error. Here is some code which made the click and the mask dont close after click. But the code seems to pause because after this clicks nothing happens:
webBrowser1.Document.GetElementById("dnn_ctr423_View_img_filter").InvokeMember("click");
webBrowser1.Document.GetElementById("dnn_ctr423_View_img_filter").RaiseEvent("click");
Maybe the mask dont closes because the program pauses.
Anyone who understand this behaviour?
If I hover the button I get - javascript:void(0); (Firefox)
I really thanks anyone for help

AddThis - turning it on and off

I've hit a problem I can seem to find a way around.
Essentially, I have a button with the "addthis_button" class, hovering over the button displays the AddThis box. Works perfectly :)
However I need to turn this on and off based on the users other actions around the page, is it possible to turn the AddThis hover event on and off as and when I need to?
For example, I have a button that says "Share" at the top of my page. Rolling over it displays AddThis. I then go and click a few things on the page. The share button has greyed out nicely but when I roll over it I still get AddThis.
I've tried re initializing AddThis completely but to no avail.
Thank you for any help you can give.
Edit: jsFiddle link hjsfiddle.net/49Pgf/
I think this should work to disable AddThis from showing the menu on hover:
addthis.button('.addthis_button', {ui_click:true}, {});
This requires an actual click on your link to show the menu. And then of course, you can re-enable it by calling the opposite:
addthis.button('.addthis_button', {ui_click:false}, {});
Hope this works for you.

Categories