I have tried to insert Javascript code in a lesson page (for example, for launching with a link a resource page from lesson page) but editor altered code and no works. ¿Anyone knows a solution for this problem?
Thanks
I have tried to insert Javascript code in a lesson page (for example, for launching with a link a resource page from lesson page) but editor altered code and no works. ¿Anyone knows a solution for this problem?
Thanks
Hi not sure if this will help
I used javascript to popup a fullscreen window for my flash presentation. I first built a standard pair of html pages on my desktop. one has the script in the head of the document and a scipt link in the body. the other is the pae that plays the flash presentation with a standard form with a close window button.
Once these were working on my desktop I logged into moodle and opened the html editer at the location I wanted. I wrote what I wanted to see and then switched to html view using the <> button.
I pasted the scripted link in the body at the appropriate place.
Problem with this htmnl editor is tht you dont have a head section so I copied the head section with its script and pasted it into the editor in one piece at the top.
Saved and closed and off it went no probs.
Moodle seems to change the script and makes the head invisible again but s long as you dont try and edit that again it seems to work fine.
If you decide to edit the page then you will have to replace the link script getting rid of what moodle changed it to and re add the head script including the <head> tags
Anyway it worked for me hope it helps
Dear Jurgis Pralgauskis
How come we can see into your quiz? Normally one has to be logged in. I would like to be able to allow guest access to quizes.
Or is this a complete mockup page that is not part of any moodle. Hmm. looking at the URL it would seem so.
sorry
Timothy
I have just taken over a Moodle site so I have a lot to learn. The menu bar has drop-down lists that need to be linked to a content page. The first line of the drop-down list has a php?id=37. Please see image below. I tried adding ids of 38, 39 and 40 to the source file but that didn't work. Can you assist?