Search found 9 matches

by DarioMartin
Thu Feb 27, 2020 10:14 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Beings my accordion is itself set within a layer which displays in the content place holder of a master page, I also did a very very simple "site" using only two basic pages to see if it was the layout of my site causing issues; one page with nothing but a simple text menu, one with a straight accor...
by DarioMartin
Wed Feb 26, 2020 6:36 pm
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Yes, selected it as the bookmark in the menu. have just given myself a crash course on jQuery to better understand the statements. This is the declaration between <head> tags <script> $(document).ready(function() { var hash = window.location.hash; var anchor = $(hash); if (anchor.length > 0) { ancho...
by DarioMartin
Wed Feb 26, 2020 11:37 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Many thanks for your time and effort on this - I appreciate you aren't really here to discuss non-generated code; it is only that this particular function would be incredibly useful on the accordion object. As it stands, even using the code as supplied, I cannot get it to open the tab, using WB 15.3...
by DarioMartin
Tue Feb 25, 2020 12:54 pm
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

So it doesn't need to be within a function() or within <script> tags?
by DarioMartin
Tue Feb 25, 2020 11:50 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

I understand you cannot teach me how to write custom code; being a C / COBOL programmer, I am acquainted with writing code. What I cannot fathom, is within the restrictions of the program, using Edit Page HTML, how the code snippet supplied has been inserted following the declaration of the function...
by DarioMartin
Tue Feb 25, 2020 10:14 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Good morning, many thanks for your response. I have added the extra code after <head> and before body : <script> $(function() { var hash = window.location.hash; var anchor = $('a[href$="'+hash+'"]'); if (anchor.length > 0){ anchor.click(); } } </script> This is because I cannot insert it in the plac...
by DarioMartin
Tue Feb 25, 2020 9:29 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

I'm fairly familiar with the HTML object, having used it in various websites I've put together using WYSIWYG, unfortunately it won't allow me to modify the code generated. In the example given here by Pablo, the actual code for the Accordion object is modified above the <body> tag. This would normal...
by DarioMartin
Mon Feb 24, 2020 8:43 pm
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 5833

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Can anyone advise how the extra code is inserted in the Accordion code - its not using the Edit Object HTML and I can't seem to do it editing Page HTML - anyone help me here?