WebSite X5Help Center

 
Steve B.
Steve B.
User

Schedule on website opens on correct day  en

Author: Steve B.
Visited 1028, Followers 1, Shared 0  

Hello,

I have created a website for a radio station www.3bsradio.co.uk if you scroll down on the home page you will see the schedule which I created in a text box. Ideally I would like the schedule to display for the day that the viewer is visiting. For example if they visit on friday then fridays schedule is automatically showing.

I have seen it working on this website https://beatrouteradio.co.uk/schedule/ but wondered if it can be made to do the same in X5.

Thanks in advance.

Posted on the
12 ANSWERS - 3 USEFUL
John S.
John S.
User

You find the present day and for the corresponding tab you set that tab as : active-day-tab

Let's see if this is not what KolAsim's code will do.

Read more
Posted on the from John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... with IFRAME he can simply do as I had already suggested and that he had to verify...
... if he wants to use tabs, he must post his LINK of his tab page, in order to evaluate...

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

Really sorry, how do I add code to a text box. My skill level is adding an html code box but not knowing where or how bits of code make a text box work. Could you possibly give me a step by step. 

Thanks in advance. 

Read more
Posted on the from Steve B.
John S.
John S.
User

@Steve

KolAsim offers to supply you with code. He ask you to make a post with a link to your website where you have the text-box with the tabs. I guess he will then give you the code that will fit exactly to your page.

So: Post a link to your page!!!!!

Read more
Posted on the from John S.
John S.
John S.
User

@KolAsim: Oh - just saw the link: www.3bsradio.co.uk     (near bottom of page.)

@Steve: Sorry for not reading your post properly.

Read more
Posted on the from John S.
Steve B.
Steve B.
User
Author

So if I look at the last post from the link above there is nothing on there with any code. The schedule is on the home page of www.3bsradio.co.uk Even if I had some code how do I link it to this text box. The options for active tabs do not open the correct one automatically. Would I be better with a schedule that generates code and I simply put it in an a iframe? 

Read more
Posted on the from Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

.. hi John, ..you are right, thanks  ... ciao...

Read more
Posted on the from  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

x Steve B.,  ... my invention of the other topic, 

Script page index, row 222 - 226

.

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

Thank you I will try to set this up over the weekend.

Read more
Posted on the from Steve B.
John S.
John S.
User

@KolAsim - Supersmile

@Steve - as an alternative you could place a html-object on the page and put the code in there. It will maybe be better if you have tabbed textobjects on other pages that is not by week.

Read more
Posted on the from John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... grazie, ciao...

Read more
Posted on the from  ‪ KolAsim ‪ ‪