problem with the anchor
-
problem with the anchor
one more problem. I decided to post it in a separate topic.
After selecting a specific time on the right (when loading the form for entering contact information) it automatically located in the top of the screen.
All information about booking (service, date, time, etc.) is hidden from the user.
how to make the block fully displayed? not only with the input string name? ie it is necessary that anchor (at start of the block) was not in the “Your Name”, but exactly on “PLEASE CHECK THE APPOINTMENT DETAILS BELOW AND CONFIRM:”
is it possible?
-
most interesting that in Firefox everything works at all another ..)))
When I load the page with the plugin on the right side immediately displays the next 7 days and time options for them …and after selecting the time booking correctly displays a form for entering contact data.
Hey there someone02,
If you’re looking to stop page going to top once you click on show available times for example we’ve had similar request on our forum here where one of my colleagues provided a solution.
Please let me know if this helps π
Best regards,
Bojanvery strange that it works differently in different browsers …
I made a test site, where I test different plugins … π
look, please …http://5black.hol.es/2/booking/
your plugin opens and works a little differently in each browser …
speech about opened the start page with the plugin (especially Firefox) and the transition and arrangement the form filling contacts.Hey again someone02,
I’m not exactly sure what you mean, I’ve checked your site and tested the same thing on my installation using the lite version of the plugin and the only issue is page not landing only the same place in Chrome and in FF/IE.
Is there anything else there that I’m missing?
Please advise,
Bojanok
few picturesChrome, Opera or Safari
1. I open the booking page
https://cloud.mail.ru/public/905a5a5952a1/1.jpg2. cut off contact form after selecting the time booking
https://cloud.mail.ru/public/8cb6a3330c26/2.jpgonly Firefox
3. I open the booking page (do you see additional days in right side ???)
https://cloud.mail.ru/public/befc9f9a6a03/3.jpg4.good (full) contact form after selecting the time booking
https://cloud.mail.ru/public/7df2377298ca/4.jpgit’s on same empty WP
Hey again someone02,
Thank you for the screenshots.
I wasn’t able to reproduce the issue in the Firefox with multiple dates being selected. How are you getting multiple days displayed?
As for the issue is only that the form is not being displayed in the same place once you select the time for the appointment I’ll report this to plugin developer so he can look for a fix in the future. Since this is not a major bug and the issue is only where the page lands once you select time this will not be a high priority.
Best regards,
Bojan“I wasn’t able to reproduce the issue in the Firefox with multiple dates being selected. How are you getting multiple days displayed?” – i don’t know. It’s the same page in same site. And I open it almost at the same time )))
about contact form – is it just me such a mistake that can not see the top or it so conceived?
Hey again someone02,
I’ve made a video using Firefox on your page where I’m clicking on the available dates not being able to reproduce the issue with double dates appearing, please check it out here http://screencast.com/t/5DoLpvZL7kQ.
As for the issue of the form not being displayed properly on different browsers, they are displayed the same on all browsers with the difference of where the page actually lands when you click on the available time. Scrolling slightly up will show the form normally, check the following screenshots:
Chrome: http://screencast.com/t/RrKWvHYGCrL
Firefox: http://screencast.com/t/v6s6v9bIKgF5
IE: http://screencast.com/t/Kn4fmGj6As you can see the form is the same in all browsers it’s just where the page lands once you click on the date.
Hope this helps π
Cheers,
Bojanhi
Thank you that you are still with me …)))about Firefox
I found a reason … because the problem was only with one browser, it is logical to assume that the matter is in it, but not in your plugin. The reason was the add-on RDS BAR (this addition to seo analysis). After his disable everything was working correctly. If this application is installed, it gives it a picture that was on my screenshot.
Perhaps this information will help you in the future.For the locations of the form. I am not in any way saying that the form is not loaded or is broken, I said that it is loaded, just in Chrome and Opera – it’s a little beyond the top of the screen. And when you scroll the screen up it becomes fully visible.
I understand that this is not the biggest problem, and can hardly expect that it will be fixed in the next update.In this connection I have a question – that I do not scan all files – can you help me and tell exactly which file configures settings move the screen after selecting the time booking form to fill in contact? I’ll try to play with it.
thanks in advance.
Hey there someone02,
You should be able to find it in /wp-content/plugins/appointments/includes/class_app_shortcodes.php. Look for the line 1850, which looks like this:
$(".appointments-confirmation-button").focus();I’ve also talked to plugin developer about this one and this should fix it. Try adding the following below that line:
var offset = $(".appointments-confirmation-wrapper").offset(); if (offset && "top" in offset && offset.top) { $(window).scrollTop(offset.top); }Hope this helps π
Cheers,
Bojansorry for the long wait …
I tried …
does not work …
if I put this code immediately after the specified line – then I get this error here at the opening page of the site
Parse error: syntax error, unexpected ‘var’ (T_VAR) in D: \ xampp \ htdocs \ mytest \ wp-content \ plugins \ appointments \ includes \ class_app_shortcodes.php on line 1854ps .. and still do not know why, but I have this line 1853 )
Hey there someone02,
Could you please try replacing the code in the same file with this one here:
Make a backup just in case something goes wrong.
Please let me know if this helps π
Best regards,
BojanFatal error: Call to undefined method App_Template::get_currency_symbol() in D:\xampp\htdocs\mytest\wp-content\plugins\appointments\includes\class_app_shortcodes.php on line 1614
Hey again someone02,
Sorry about that one I’ve made a mistake there, could you please try this one:
This one should work, I’ve double checked on my end π
Best regards,
Bojancool
it’s working! ))))
you are a genius!and what I need to edit to make additional top margin for 20 – 30 px?
Π²Π΅ΡΠ°use my theme has a small fixed menu at the topand thanks anyway )))
The topic ‘problem with the anchor’ is closed to new replies.