Donations

Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
User Info
Welcome Anonymous
Membership:
Latest: Witewolf
New Today: 0
New Yesterday: 0
Overall: 151
People Online:
Members: 0
Visitors: 50
Bots: 3
Total: 53
Who Is Where:
Visitors:Pro News Articles
Downloads
Support Forums
Pro News Articles
التحمي
Home
Nedladdningar
Support Forums
Support Forums
Support Forums
Pro News Articles
Pro News Articles
Downloads
Support Forums
Support Forums
Support Forums
Home
Support Forums
Pro News Articles
General Search
Support Forums
Téléchargement
Téléchargement
Pro News Articles
Support Forums
Min Konto
Pro News Articles
Support Forums
Support Forums
التحمي
Support Forums
Support Forums
Downloads
Support Forums
Pro News Articles
Home
Nedladdningar
Support Forums
التحمي
Nedlastninger
Home
Pro News Articles
Downloads
Support Forums
Home
Support Forums
Pro News Articles
Downloads
Pro News Articles
Pro News Articles
Bots:Google > Support Forums
Baidu > Pro News Articles
YANDEX > Downloads
Staff Online:
No staff members are online!
Need someone to code some JavaScript/ECMAscript if poss.
Need someone to code some JavaScript/ECMAscript if poss.
Posted: Tue Jul 14, 2009 9:13 am
As anyone who's posted with Pro_News 3.0 or later will have seen, I've created sub-groups for each of Calendar, Photo Album, Key Fields and Article Display. (Try Submiting and Article here on this site to see the Submit ARticel screen.) And now with Related Articles currently under development there are 5 of these sub-groups. (See this screenshot.)
So the Submit Article screen is getting a) too long, and b) somewhat foreboding for a new user.
What I would like to do - if I could program JavaScript quickly enough - is replace these (up to) 5 sub-groups with (up to) 5 icons in a single row - in place of the 5 sub-groups. The user then clicks on 1 of the 5 icons if they want in order to enter their respective data. The attached screenshot shows the effect of replacing 5 sub-groups with 5 icons.
The necessary HTML changes to bring this new set of 5 icons about is also attached. The new code is inserted just above
<!-- IF article_form.G_CALENDAR -->
starting at around line 42.
The clever JavaScript coding comes in because Submit Article still has to function on a browser with JavaScript disabled. Thus the full page has to display as it does today, and then the subgroups be hidden, and the (up to) 5 icons shown, under JavaScript control. That way anyone with JavaScript disabled will still see and can use the full set of sub-groups.
Any takers?
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Posts: 1229
- Joined: Mar 18, 2006
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT











