Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <p>👀Use this switcher to quickly jump to useful land surveyor resources, tools and hubs</p>
<select class="switcher">
  <option value="https://landsurveyorsunited.github.io/cssfiles/isw/isw.html">International Surveyors Week 2020</option>
  <option value="https://view-awesome-table.com/-M7oCThoq0z0e4bXKTGV/view">Global Land Surveyor Heatmap</option>
  <option value="https://www.sheet2site.com/api/?key=1K8jRhtxCxJKNIByLIgCTmlp6VXO-eIMGvzvxlIg58eI">Become SURVAmbassador For Your Location</option>
  <option value="https://www.jbirds.co/surveyors">Get an affordable Website with jbirds.co</option>
  <option value="https://view-awesome-table.com/-L8sFT9aUtB10a78mljh/view">Find and Join your Local Group Forum</option>
  <option value="https://land-surveyor-online-resources.zeef.com/landsurveyorsu">Megalist of Land Surveyor Resources and Links</option>
  <option value="https://app.additor.io/p/zE8OUzjX">Surveying Tutorials List</option>
  <option value="https://landsurveyors.carto.com/viz/9c0755a0-8fc6-11e6-b3bf-0ef24382571b/embed_map">Global Member Map</option>
  <option value="https://view-awesome-table.com/-L0g9Rz-l-kxvJj79wgQ/view">Surveying Equipment Manuals and Guides</option>
  <option value="https://www.facebook.com/landsurveyorsunited">Land Surveyors United on Facebook</option>
  <option value="https://www.facebook.com/surveyingjobs">Surveying Jobs on Facebook</option>
  <option value="https://www.facebook.com/surveyingjobs/app/337680106275807/">Surveyors Seeking Employment</option>
  <option value="https://www.facebook.com/surveyingjobs/app/338808983330/">Add a Support Tab to Your Facebook Page</option>
  <option value="https://www.srvyr.com/about">International Surveyors Week</option>
</select>


<iframe class="switch-target" width="100%" height="600" src=""></iframe>
              
            
!

CSS

              
                select { display: block;background:#cc0000;color:#fff; } /* unimportant */
              
            
!

JS

              
                var switcher$ = $('.switcher'),          // select element
    switchTarget$ = $('.switch-target'); // iframe

switcher$.on('change', switchIframeSrc); // event binding

// our functiono to switch the iframe src
function switchIframeSrc() {
  // set the 'src' attribute of the iframe
  // to the value of the selected option
  switchTarget$.attr('src', switcher$.val());
}

// call the method on load
switchIframeSrc();

              
            
!
999px

Console