Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
225 views
in Technique[技术] by (71.8m points)

Ghost blog popup halfway through article

I have a ghost blog and would like to popup a div element with content inside when the user scrolls halfway through each article.

How would i go about this? I can paste code into the code injection area where it says:

Site Header

Code here will be injected into the {{ghost_head}} tag on every page of the site

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can probably use the ghost_foot inside the code injection option if you want to inject the code into the body of the ghost blog.

If you want to add your code between <head>...</head> then use ghost_head inside the code injection.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
...