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
Bienvenido Anónimo
Lista de miembros:
Ultimo: Witewolf
Nuevos Hoy: 0
Nuevos Ayer: 0
Total: 151
Gente en línea:
Miembros: 0
Visitantes: 40
Bots: 3
Total: 43
Donde estan todos:
Visitantes:Support Forums
Pro News Articles
Pro News Articles
Support Forums
Downloads
Descargas
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Support Forums
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Téléchargement
Support Forums
Téléchargement
Mi Cuenta
Pro News Articles
Support Forums
Support Forums
Downloads
Pro News Articles
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
Nedlastninger
Support Forums
Mon Compte
Pro News Articles
Pro News Articles
Support Forums
Pro News Articles
My Account
Bots:Google > Support Forums
Baidu > Pro News Articles
YANDEX > Downloads
Administradores conectados:
No hay Administradores conectados!
Need someone to code some JavaScript/ECMAscript if poss.
Need someone to code some JavaScript/ECMAscript if poss.
Publicado: 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

- Mensajes: 1229
- Registrado: Mar 18, 2006
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro
You cannot attach files in this forum
Tu no puedes descargar archivos en este foro
Todas las horas son GMT











