for one of my website I would like that when a user clicks on a button in a page, a progress bar advances in another page.
This is to allow users to follow their progress.
I can do it in JS but in the same page, I don't know how to transfer the data to another page.
I have searched with many plugins but I can't find anything.
If someone has had this problem, I'm interested in a solution.
Thank you very much
If you can do this with JavaScript, the only thing you need is a way to store the progress information locally on the visitors browser, maybe in some sort of a local storage.
See here on how this can be done (using local storage): https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
Store Info:
localStorage.setItem('myProgress', 1);
Retrieve Info on any page:
const myProgress = localStorage.getItem('myProgress');
Related
I am building a WordPress website for an radio station. They want to integrate the streaming option into the header and give user the ability to navigate their site without taget_blank or _blank and keep streaming.
So basically they would like users to listening to their radio without putting the streaming window in a popup or any other window what is not the landing page.
Only think i could think is to not refresh or load the entire new page while user is surfing and leave the header fix.
Does anybody has any idea how to get this done?
Appreciate the gesture.
I found a solution based on Frameset, but I think their must be something better, maybe ajax or something.
I have a task to list all pages which are opened at that moment and show how many people are on that page.
I am looking for a way to make that happen without keeping any db records or saving information on a text file or smth like that. (Not seccessarily, then. Of course I am going to save that info to a dB, I just wanted to the logic of catching opened page addresses.)
I can of course keep track of every page which are opened till that time, but I want the page address appear on the page when someone opens that address and disappear when user is no longer browsing that address.
Can you give me some ideas how to make that happen using ASP.NET?
Note: I am using web forms with asp.net 4.5
Thanks!
"I just wanted to the logic of catching opened page addresses"
Use javascript in a timed loop (onload and then every 30 seconds perhaps) on every page, to asynchronously post to a page on your server. It should send information identifying the page. This will give you a good idea of how many people currently are on this page.
Store this information in a db in your code-behind, and use this information to report as you wish.
Of course if a user leaves their browser open on one of these pages or opens another tab it will still be reporting as 'open'.
To get the current url in javascript you can use:
var pathname = window.location.pathname;
In google analytics you can see what pages are being used in near-real time.
Why not use that to solve this issue - it's easy to setup.
I have an online magazine with news articles and i want to make an open graph action that everytime a user reads an article a story to post in his timeline.
I have all the nececery open graph tags in my urls and a login button with publish_actions scope.
I'm one step away from submitting the action for approval but i still cant figure out one thing.
The facebook's documentation says that i need to give users an option to stop auto publishing or remove the app etc. something like the image in the middle of this page http://developers.facebook.com/docs/opengraph/actions/builtin/#read .
I saw it also on yahoo and its exacly the same.
How can i make something like this in my site? The code is ready somewhere or i have to write it myself?
Thanks in advance!
The permission remove, or just a switch to stop publish of action and the delete article functions will have to be developed by you.
I am working on the same things for my app.
creating user CP control panel containing, revoke perms buttons.
a user CP to swich publishing on and off, via true/false in mysql
an array of app activities with delete buttons.
I've set up a goal for the signup process on my site, and I can see that users exit the Goal funnel at a page with nothing but a input and a next button, landing on another page on my site.
I'm guessing this is when users create fake profiles in one tab, while having another tab open somewhere else.
Does anyone have any ideas on how to deal with this? I'm not even sure what's best practice here, here's a few ideas:
Force the user to finish these steps as long as he is signed in for the first time and havent completed them, but that would be a development issue.
Setting cookies in the signup steps, and (if first time signed in) add a check globally on the site that redirects the user to the last step.
Other suggestions?
Even if a user has multiple tabs open to GA the requests are serialized and they all look like one browsing session. I do not believe you can check for this with GA at all.
Does someone knows of a user control that can work exactly like the file upload Google has?
I want that the use will select the files to upload, then that upload will start and the progress bar will work, and the user can continue to the next field he has to fill in the page as the file is uploaded in the background.
Willing to pay. Free is better.
Thanks
I recently used AjaxUploader with great results. One of its demos is actually GMail Style. It runs $99 for 1 domain.