Jump to content
Important Notice:
Due to further security updates and ongoing integration strategies following the latest release all schools using SIMS, WCBS or Progresso MIS systems will need to upgrade to the latest MIS extractor available here. All other schools using UK based MIS providers will be required to move to Groupcall XOD prior to the start of the next academic year. Please contact our service desk team who will help guide you through the process on 01422 395939 or via support@frogeducation.com.
K.Ermit

Linguascope's script doesn't work

Recommended Posts

Hi,

I have been provided with this code from Linguascope, but it doesn't work in the HTML widget.   

<script language="javascript" src="http://www.linguascope.com/link/login/linguascope_login250x250.js"></script>

Can anyone help please?

Share this post


Link to post
Share on other sites

I've had a look at Linguascope's code and it actually just generates a login box.  Frog blocks external scripts from loading, but the html is ok to use, so this should work for you:

<div id="linguascope_login" style="width: 250px; height: 250px; font-family: 'Comic Sans MS', Chalkboard, sans-serif; font-size: 16px; border: none; background-image: url(https://www.linguascope.com/link/login/LinguascopeLogon250x250.jpg); background-repeat: no-repeat; margin: 0 auto; padding-top: 88px;">
<form class="form-inline" action="http://www.linguascope.com/secure/login.php" method="put" target="_blank">
<div class="form-group">
<div style="width: 280px; height: 47px; margin-left: 10px; padding: 0px;"><input class="form-control" id="username" type="text" name="username" value="" placeholder="Username" onclick="event.stopPropagation();" style="width: 182px; height: 25px; font-family: 'Comic Sans MS', Chalkboard, sans-serif; font-size: 18px; margin: 0 0 0 24px; padding: 0;"></div>
<div style="width: 280px; height: 35px; margin-top: 6px; margin-left: 10px; padding: 0;"><input class="form-control" id="password" type="password" name="password" value="" placeholder="Password" onclick="event.stopPropagation();" style="width: 182px; height: 25px; font-family: 'Comic Sans MS', Chalkboard, sans-serif; font-size: 18px; margin: 0 0 0 24px; padding: 0;"></div>
<input type="hidden" name="login_checksum" id="login_checksum" value="linguatest">
    <div style="width: 280px; height: 35px; margin: 3px 40px; padding: 0;"><button id="loginbutton" type="submit" value="Log In >" class="btn btn-danger" style="font-size: 1px; text-indent: -1000px; background-color: transparent; background-image: url(http://www.linguascope.com/link/login/LinguascopeLogonSubmit.png); color: #FFF; border-radius: 5px; border: none; width: 86px; height: 36px;"></button>
</form>
</div>

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Looks like you're enjoying the discussion, why don't you sign up?

  • Similar Content

    • By Graham Quince
      Some of you have already spotted this tutorial, but we've just updated it to reflect feedback from schools.
      You can now use the same code 'hack' a menu to open external links, subpages and even sites
      https://www.frogeducation.com/community/tutorials/frogcode-tutorials/external-links
    • By K.Ermit
      Every time I add in a text widget,, I have to resize the text, as it starts too small, is there a way of setting the size be default?
    • By Dawn Spears
      Hi,
       
      I have set up a sildeshow, using a file drop as detailed in the tutorial below:
      http://www.frogcommunity.com/app/os#!filedrop/slideshow
       
      My first slideshow was working correctly, and I could add/remove files to the drop and the correct pictures were showing.
      I then tried to add another slideshow (on a new tab within the site), so set up a new file drop, got the new ID and created the HTML again as per the tutorial, however the second file drop won't work as expected. The pictures from the second file drop show up in the first slideshow, despite them having completely different IDs. If I set up a list of file names for the second file drop, the files are correct, but they are showing on the wrong page. Sometimes they appear as part of the slideshow, and other times the new pictures are above the first pictures. I will attach some screenshots so that hopefully you can see what I mean.
      Additionally, the first file drop will work correctly until I try and look at the second file drop, then when I go back to the first I have the problem (caching issue maybe?).
      First file drop showing Micky Mouse correctly:
       
       
      2nd file drop showing only the file name (testing) widget. The file drop arrows show up but no pictures.

       
      Now, I go back to the first tab and Goofy is showing despite him being on the other file drop.

       
       
      Any ideas?
       
      Kind regards
       
      Dawn
    • By mobrien
      Dear Community,
      On the Frog website designs showcase page, there is a link to Theale Green School. We have noticed that they have a calendar widget on their homepage without the skeuomorphic red rings at the top.
      Does anyone have some code to achieve this with the HTML widget? All I have managed to do so far is remove the header text.
      Thanks,
      Michael

    • By mobrien
      @Graham Quince and community Frog,
      In another topic about HTML tables that @Chris.Smith is providing me with a huge amount of hand-holding, he mentioned amending the data contained within my HTML code using a script and JSON format data. It is much simpler than lines and lines of HTML for each row data.
      It started me thinking: further to our discussions about using FireBase to contain and access individualised data, could there be an alternative method written directly into the HTML widget, without the need for FireBase?
      My thinking for the HTML is as follows, and as mentioned in my other post, please note that my skills are barrel bottom in terms of availability:
      1. Call up/define the logged in user's upn, as described in the "Displaying personalised, custom data" post on the Frog Community
      2. Define a table
      3. Provide all required table cell data in JSON format within the script (see below)
      4. Populate the data in the table with the fields that ONLY correspond to those that match the user's upn. This would somehow also require the data in the JSON format to contain and recognise the upn? Upn would obviously not be displayed.
      @Chris.Smith included the JSON data as follows. I have amended it to include a reference upn and an alternative use.
      data = [ { upn: 'FRG_12321', name: 'Student Tom', house: 'Bowman', tutor: 'ACR', MyMaths un: 'Tom', MyMaths pw: 'tree' }, { upn: 'FRG_34243', name: 'Student Sarah', house: 'Fulford', tutor: 'MOB', MyMaths un: 'Sarah', MyMaths pw: 'flower' } ]; The applications for this are enormous, such as passwords as in the data, or sharing student grades.
      Hope you can help,
      Michael
×