Hi I have created a matrimony website where all the individual profiles are Item dynamic page and a particular profile can be selected from an Item List Dynamic page where all the profiles are listed. there is no issue you can click on full biodata and visit the dynamic page with full data of the individual in it. all the text and images are connected with dynamic linking no codes were used.
Since The Dynamic Item Page all data is linked with dynamic linking there is no issue. but all details are distributed in different sections as tabs which are collapsed in beginning and expand with .OnClick function as shown below.
All Tabs like Basic details, professional details, contacts, lifestyle and all are simple box with onclick function which expand containers depending on the tab clicked.
Since, everything working normally in desktop site I found no issues.
but on visiting dynamic item pages from dynamic item list page in mobile site. codes don’t work in Item Pages untill I refresh the page manually. and every time I go back and visit another Dynamic Item page same thing happens no codes work & again I have to refresh to activate onclick codes in the tabs. I also tried export function but same thing it seem all the codes are not performing even the basic hide/show codes.
why is this happening not able to figure out?
export function box13_click(event) {
if ($w('#lifestyleRead').collapsed) { $w('#lifestyleRead').expand(), $w('#vectorImage21').show(), $w('#vectorImage22').hide() } else { $w('#vectorImage22').show(), $w('#vectorImage21').hide(), $w('#lifestyleRead').collapse() }
}
Hence all my codes working very perfectly in desktop and even in the mobile preview in editor but a complete messed up in mobile published site I don’t know why??
Hoping for positing feedback