J
jsniemi79
Guest
I can't seem to get this to work. I put the same code and changed the values you suggested and that didn't seem to do the trick. I then tweaked the code a little bit because all I care about is that the notes for my mobile version is hidden when I am not on a mobile device. My code looks like this: script var sectionId; sectionId = 1953693; //rbf_getSectionIdByTitle("Customer Notes"); if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { rbf_showOrHideSection(sectionId, false); console.log('You are using a mobile device!'); } else { rbf_showOrHideSection(sectionId, true); console.log('You are not using a mobile device!'); } /script I tried that in the same script as my mobile section and in another section with no luck. I also tried the API to get the title by name as well as hard-coding the original id on the section. Also with no luck. This section seems to show up no matter where I am. Lastly, I still do not get any customer in scope on the mobile device using the new link code below: a href="../b/mb.jsp?pageId=12655" Add New Customer Note /a div id="NotesList" {!#LOOP_BEGIN.R105316339#105308925} div br {!note_date} - {!agility_created_by} br {!note} /div {!#LOOP_END.R105316339} /div I attached a screen shot of the new note page showing that it is set to have a record in scope.
Continue reading...
Continue reading...