{"id":3391,"date":"2020-10-19T15:29:32","date_gmt":"2020-10-19T15:29:32","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=3391"},"modified":"2024-02-14T11:40:41","modified_gmt":"2024-02-14T11:40:41","slug":"loopback-to-2nd-node-in-any-dt-from-the-header-footer-section","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/","title":{"rendered":"Loopback to 2nd node in any DT from the header\/footer section"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you are keen on using the header\/footer settings, you probably are aware that you can frame your DT with a menu and custom style too.<\/li>\n\n\n\n<li>Normally these menu items are external links, leading out of LeadsHook. <\/li>\n\n\n\n<li>However, its actually possible to link to the second node of any DT using the script below.<\/li>\n\n\n\n<li>This is useful where you want to repeat an application process ( without showing the start page ). <\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">In any of the header\/footer editors copy\/paste this button<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;button onclick=\"myFunction()\"&gt;Goto 2nd Node&lt;\/button&gt;<br><br>&lt;script&gt;<br>function myFunction() {<br>document.location.href = document.location.href+\"?skip=true\";<br>}<br>&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<p>And in the start node source code editor copy\/paste this script<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;script&gt; \n$(document).ready(function() {\nif (window.location.href.indexOf(\"skip=true\") &gt; -1) {\nvar scope = $('.app').scope() \nscope.next()    \n}\n});\n&lt;\/script&gt;<\/pre>\n\n\n\n<p>Basically if the parameter exists, then skip to 2nd node<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: In any of the header\/footer editors copy\/paste this button And in the start node source code editor copy\/paste this script &lt;script&gt; $(document).ready(function() { if (window.location.href.indexOf(&#8220;skip=true&#8221;) &gt; -1) { var scope = $(&#8216;.app&#8217;).scope() scope.next() } }); &lt;\/script&gt; Basically if the parameter exists, then skip to 2nd node<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,620],"tags":[740,739,741,567],"class_list":["post-3391","post","type-post","status-publish","format-standard","hentry","category-decision-tree","category-scripts","tag-2nd","tag-loopback","tag-reload","tag-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Loopback to 2nd node in any DT from the header\/footer section - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Loopback to 2nd node in any DT from the header\/footer section - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Introduction: In any of the header\/footer editors copy\/paste this button And in the start node source code editor copy\/paste this script &lt;script&gt; $(document).ready(function() { if (window.location.href.indexOf(&quot;skip=true&quot;) &gt; -1) { var scope = $(&#039;.app&#039;).scope() scope.next() } }); &lt;\/script&gt; Basically if the parameter exists, then skip to 2nd node\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-19T15:29:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-14T11:40:41+00:00\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"Loopback to 2nd node in any DT from the header\\\/footer section\",\"datePublished\":\"2020-10-19T15:29:32+00:00\",\"dateModified\":\"2024-02-14T11:40:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/\"},\"wordCount\":117,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"keywords\":[\"2nd\",\"loopback\",\"reload\",\"script\"],\"articleSection\":[\"Decision Tree\",\"Scripts\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/\",\"name\":\"Loopback to 2nd node in any DT from the header\\\/footer section - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"datePublished\":\"2020-10-19T15:29:32+00:00\",\"dateModified\":\"2024-02-14T11:40:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Loopback to 2nd node in any DT from the header\\\/footer section\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Loopback to 2nd node in any DT from the header\/footer section - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/","og_locale":"en_US","og_type":"article","og_title":"Loopback to 2nd node in any DT from the header\/footer section - LeadsHook Knowledge Base","og_description":"Introduction: In any of the header\/footer editors copy\/paste this button And in the start node source code editor copy\/paste this script &lt;script&gt; $(document).ready(function() { if (window.location.href.indexOf(\"skip=true\") &gt; -1) { var scope = $('.app').scope() scope.next() } }); &lt;\/script&gt; Basically if the parameter exists, then skip to 2nd node","og_url":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2020-10-19T15:29:32+00:00","article_modified_time":"2024-02-14T11:40:41+00:00","author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"Loopback to 2nd node in any DT from the header\/footer section","datePublished":"2020-10-19T15:29:32+00:00","dateModified":"2024-02-14T11:40:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/"},"wordCount":117,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"keywords":["2nd","loopback","reload","script"],"articleSection":["Decision Tree","Scripts"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/","url":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/","name":"Loopback to 2nd node in any DT from the header\/footer section - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"datePublished":"2020-10-19T15:29:32+00:00","dateModified":"2024-02-14T11:40:41+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/loopback-to-2nd-node-in-any-dt-from-the-header-footer-section\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"Loopback to 2nd node in any DT from the header\/footer section"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=3391"}],"version-history":[{"count":11,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3391\/revisions"}],"predecessor-version":[{"id":6308,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3391\/revisions\/6308"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=3391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=3391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=3391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}